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

39 lines
881 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:
- '.env.*'
2022-10-30 10:53:53 +00:00
- '**/*.md'
- '**/*.sh'
- '**/*.yml'
2024-09-23 13:02:26 +00:00
- 'fastlane/**'
2022-11-06 17:08:41 +00:00
concurrency:
2024-09-23 13:02:26 +00:00
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
2022-11-06 17:08:41 +00:00
jobs:
run_tests:
name: Run tests
2024-09-23 13:02:26 +00:00
runs-on: macos-14
2022-10-30 10:53:53 +00:00
timeout-minutes: 15
steps:
2024-09-23 13:02:26 +00:00
- uses: actions/checkout@v4
2022-10-30 10:53:53 +00:00
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
2024-09-23 13:02:26 +00:00
- uses: maxim-lobanov/setup-xcode@v1
2022-10-30 10:53:53 +00:00
with:
2024-09-23 13:02:26 +00:00
xcode-version: 15.4
- name: Access private repositories
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
git config --global url.https://$ACCESS_TOKEN@github.com/.insteadOf git@github.com:
- name: Run tests
run: |
2024-09-23 13:02:26 +00:00
cd Passepartout/Library
swift test