passepartout-apple/.github/workflows/test.yml
Davide f87cc1da0b
Fix OpenVPN/WireGuard import error messages (#967)
OpenVPN parser was indirectly swallowing WireGuard errors.
2024-12-01 21:33:58 +01:00

30 lines
603 B
YAML

name: SwiftPM 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_swift_tests:
name: Run SwiftPM tests
runs-on: macos-15
timeout-minutes: 10
steps:
- uses: passepartoutvpn/action-prepare-xcode-build@master
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
- name: "Run tests"
run: |
cd Library
swift test