Added support to include intents and ft lockup balance for treasury metrics #70
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: Twice Weekly Production API Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 9 * * 1" # Every Monday at 09:00 UTC | |
| - cron: "0 9 * * 4" # Every Thursday at 09:00 UTC | |
| workflow_dispatch: # Allow manual trigger from GitHub UI | |
| jobs: | |
| production-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "18" | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run Production Tests | |
| run: npm test test/production.test.ts | |
| - name: Report Success | |
| if: success() | |
| run: echo "Production test suite completed." | |
| - name: Report Failure | |
| if: failure() | |
| run: echo "Production test suite failed!" |