passepartout-apple/.github/workflows/xcode_test.yml
Davide 6f516d030e
Hijack environment to run tests in PRs (#1124)
Avoid the complications of accessing the PassepartoutKit private
repository by running tests against the public binary distribution.

Also a way to make sure that the framework is up to date.
2025-01-29 15:45:19 +01:00

26 lines
587 B
YAML

name: Xcode Tests
on:
workflow_dispatch:
env:
FASTLANE_USERNAME: ${{ secrets.FASTLANE_USERNAME }}
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
XCODEPROJ: "Passepartout.xcodeproj/project.pbxproj"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_tests:
name: Run Xcode tests
runs-on: macos-15
timeout-minutes: 15
steps:
- uses: passepartoutvpn/action-prepare-xcode-build@master
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
- run: |
bundle exec fastlane test