2021-11-28 18:35:36 +00:00
|
|
|
name: Unit Tests
|
2021-11-28 15:11:18 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-12-02 14:40:38 +00:00
|
|
|
- "master"
|
|
|
|
paths-ignore:
|
|
|
|
- "*.md"
|
2022-11-06 16:46:10 +00:00
|
|
|
pull_request:
|
|
|
|
types: [ opened, synchronize ]
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.ref }}
|
|
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
2021-11-28 15:11:18 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
run_tests:
|
2022-01-04 08:27:57 +00:00
|
|
|
name: Run tests
|
2022-05-17 16:06:51 +00:00
|
|
|
runs-on: macos-12
|
2022-11-06 16:46:10 +00:00
|
|
|
timeout-minutes: 5
|
2021-11-28 15:11:18 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
|
|
with:
|
|
|
|
xcode-version: latest-stable
|
|
|
|
- name: Run tests
|
|
|
|
run: |
|
|
|
|
swift test
|