Add rounds to prevent granting stale requests #16
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: Choreo Examples Tests | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test-examples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install Quint | |
| run: | | |
| npm install -g @informalsystems/quint | |
| # Triggers installation of the rust backend before the concurent tests | |
| quint run examples/two_phase_commit/two_phase_commit.qnt --main two_phase_commit --max-samples 1 | |
| - name: Install txm (test runner) | |
| run: npm install -g txm | |
| - name: Run tests with txm | |
| run: txm examples-tests.md |