Smoke Test #125
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: Smoke Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| schedule: | |
| # Run daily at 9am UTC to catch regressions | |
| - cron: '0 9 * * *' | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y jq curl | |
| - name: Make smoke test executable | |
| run: chmod +x scripts/smoke-test.sh | |
| - name: Run smoke test against production | |
| env: | |
| BASE_URL: https://x402.peacprotocol.org | |
| run: ./scripts/smoke-test.sh | |
| - name: Notify on failure | |
| if: failure() | |
| run: | | |
| echo "::error::Smoke test failed! Check the logs above for details." | |
| exit 1 |