2021-11-28 20:19:49 +00:00
|
|
|
name: Unit Tests
|
|
|
|
|
|
|
|
on:
|
2022-10-30 10:53:53 +00:00
|
|
|
pull_request:
|
|
|
|
types: [ opened, synchronize ]
|
2021-12-01 22:21:39 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '.beta-*'
|
2023-04-07 10:08:55 +00:00
|
|
|
- '.env.*'
|
2022-10-30 10:53:53 +00:00
|
|
|
- '**/*.md'
|
2022-10-30 11:56:49 +00:00
|
|
|
- '**/*.sh'
|
|
|
|
- '**/*.yml'
|
2022-10-30 10:53:53 +00:00
|
|
|
- 'Passepartout/App/fastlane/**'
|
2021-11-28 20:19:49 +00:00
|
|
|
|
2022-11-06 17:08:41 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.ref }}
|
|
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
|
|
|
|
2021-11-28 20:19:49 +00:00
|
|
|
jobs:
|
|
|
|
run_tests:
|
2021-12-03 14:31:19 +00:00
|
|
|
name: Run tests
|
2023-12-16 19:58:54 +00:00
|
|
|
runs-on: macos-13
|
2022-10-30 10:53:53 +00:00
|
|
|
timeout-minutes: 15
|
2021-11-28 20:19:49 +00:00
|
|
|
steps:
|
2023-07-06 17:46:01 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-28 20:19:49 +00:00
|
|
|
with:
|
|
|
|
submodules: true
|
2021-12-03 14:31:19 +00:00
|
|
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
|
|
with:
|
2023-12-16 19:58:54 +00:00
|
|
|
xcode-version: "15.1"
|
2022-10-30 10:53:53 +00:00
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
bundler-cache: true
|
2023-07-06 17:46:01 +00:00
|
|
|
- uses: actions/setup-go@v4
|
2022-10-30 10:53:53 +00:00
|
|
|
with:
|
|
|
|
go-version: "^1.17"
|
2021-11-28 20:19:49 +00:00
|
|
|
- name: Run tests
|
|
|
|
run: |
|
2023-12-20 19:43:39 +00:00
|
|
|
cd PassepartoutLibrary
|
|
|
|
swift test
|