passepartout-apple/.github/workflows/test.yml

40 lines
840 B
YAML
Raw Normal View History

name: Unit Tests
on:
2022-10-30 10:53:53 +00:00
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- '.beta-*'
- '.env.*'
2022-10-30 10:53:53 +00:00
- '**/*.md'
- '**/*.sh'
- '**/*.yml'
2022-10-30 10:53:53 +00:00
- 'Passepartout/App/fastlane/**'
2022-11-06 17:08:41 +00:00
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
run_tests:
name: Run tests
runs-on: macos-12
2022-10-30 10:53:53 +00:00
timeout-minutes: 15
steps:
2023-07-06 17:46:01 +00:00
- uses: actions/checkout@v3
with:
submodules: true
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
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"
- name: Run tests
run: |
cd PassepartoutLibrary
swift test