2021-11-28 20:19:49 +00:00
|
|
|
name: Unit Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
2022-04-12 20:55:39 +00:00
|
|
|
- 'master' # temporary
|
2021-11-30 10:27:05 +00:00
|
|
|
- 'test/*'
|
2021-12-01 22:21:39 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '.beta-*'
|
|
|
|
- 'Passepartout.xcodeproj/project.pbxproj'
|
|
|
|
- '**/Info.plist'
|
2021-12-03 14:31:19 +00:00
|
|
|
- '**/CHANGELOG.md'
|
2021-12-01 22:21:39 +00:00
|
|
|
- '**/release_notes.txt'
|
2021-11-28 20:19:49 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
run_tests:
|
2021-12-03 14:31:19 +00:00
|
|
|
name: Run tests
|
2022-05-17 14:36:53 +00:00
|
|
|
runs-on: macos-12
|
2021-11-28 20:19:49 +00:00
|
|
|
timeout-minutes: 20
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
2021-12-03 14:31:19 +00:00
|
|
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
|
|
with:
|
|
|
|
xcode-version: latest-stable
|
2021-11-28 20:19:49 +00:00
|
|
|
- name: Run tests
|
|
|
|
run: |
|
2021-12-03 14:31:19 +00:00
|
|
|
cd PassepartoutCore
|
|
|
|
swift test
|