Production smoke #5
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: Production smoke | |
| # Runs the SDK against production daily: create, per-link stats, emoji | |
| # catalogue, delete. Requires the SPOO_SMOKE_API_KEY secret (dedicated | |
| # low-scope key). | |
| on: | |
| schedule: | |
| - cron: "40 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'spoo-me/spoo-kotlin' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - uses: gradle/actions/setup-gradle@v5 | |
| - name: Smoke against production | |
| env: | |
| SPOO_SMOKE_API_KEY: ${{ secrets.SPOO_SMOKE_API_KEY }} | |
| run: ./gradlew jvmTest --tests "me.spoo.SmokeTest" --rerun |