Test #348
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: Test | |
| on: | |
| schedule: | |
| # Runs "At 04:00 every night" | |
| - cron: '0 4 * * *' | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration: | |
| name: Integration | |
| strategy: | |
| matrix: | |
| include: | |
| - project: 'TestFrameworks' | |
| - project: 'TestPods' | |
| - project: 'TestXCFrameworks' | |
| - project: 'TestXCPods' | |
| fail-fast: false | |
| runs-on: macos-15 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4.1.1 | |
| - uses: ./.github/actions/ruby-cache | |
| - name: Test Integration of Stream ${{ matrix.project }} | |
| run: bundle exec fastlane test project:"${{ matrix.project }}" | |
| timeout-minutes: 30 | |
| slack: | |
| name: Slack Report | |
| runs-on: ubuntu-latest | |
| needs: [integration] | |
| if: failure() && github.event_name == 'schedule' | |
| steps: | |
| - uses: 8398a7/action-slack@v3 | |
| with: | |
| status: cancelled | |
| text: "You shall not pass!" | |
| job_name: "${{ github.workflow }}: ${{ github.job }}" | |
| fields: repo,commit,author,workflow | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_NIGHTLY_CHECKS }} |