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

30 lines
597 B
YAML

name: Unit Tests
on:
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- '.env.*'
- '**/*.md'
- '**/*.sh'
- '**/*.yml'
- 'fastlane/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_tests:
name: Run tests
runs-on: macos-14
timeout-minutes: 15
steps:
- uses: passepartoutvpn/action-prepare-xcode-build@master
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
- name: Run tests
run: |
cd Passepartout/Library
swift test