test: Mobile test runner #1880
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: βοΈ CI | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "release/**" | |
| paths-ignore: | |
| - "*.md" | |
| pull_request: | |
| paths-ignore: | |
| - "*.md" | |
| # Cancel in-progress runs on PR update and on push. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-extension: | |
| name: π Build GDExtension | |
| uses: ./.github/workflows/build_gdextension.yml | |
| static-checks: | |
| name: π Static checks | |
| needs: build-extension | |
| uses: ./.github/workflows/static_checks.yml | |
| unit-tests: | |
| name: π§ͺ Unit tests | |
| needs: build-extension | |
| uses: ./.github/workflows/unit_tests.yml | |
| test-android: | |
| name: π§ͺ Android tests | |
| needs: build-extension | |
| uses: ./.github/workflows/test_android.yml | |
| package: | |
| name: π¦ Package | |
| needs: build-extension | |
| uses: ./.github/workflows/package.yml | |
| secrets: | |
| APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }} | |
| APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }} | |
| APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }} | |
| # Deleting "sentry-godot-gdextension" artifact due to broken file permissions. | |
| # This encourages using the artifact from the "package" job instead which has correct permissions. | |
| # See issue: https://github.com/getsentry/sentry-godot/issues/41 | |
| cleanup: | |
| name: ποΈ Cleanup | |
| needs: [package, unit-tests, test-android, static-checks] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Delete sentry-godot-gdextension artifact | |
| uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5.1.0 | |
| with: | |
| name: sentry-godot-gdextension |