Add manual flow to run Xcode tests

This commit is contained in:
Davide 2024-11-26 16:24:12 +01:00
parent 40741ebf2b
commit ed1d78d424
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
2 changed files with 27 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Unit Tests
name: SwiftPM Tests
on:
pull_request:

26
.github/workflows/xcode_test.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Xcode Tests
on:
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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