diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d936faf..57866729 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Unit Tests +name: SwiftPM Tests on: pull_request: diff --git a/.github/workflows/xcode_test.yml b/.github/workflows/xcode_test.yml new file mode 100644 index 00000000..cf862892 --- /dev/null +++ b/.github/workflows/xcode_test.yml @@ -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