Fix deprecated mc call, add more logging on CI failure
#787
Workflow file for this run
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: Lint and Test | |
| on: pull_request | |
| jobs: | |
| static-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: extractions/setup-just@v3 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11.5 | |
| - uses: pre-commit/[email protected] | |
| with: | |
| extra_args: --all-files | |
| tests: | |
| runs-on: ubuntu-latest | |
| needs: static-checks | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: extractions/setup-just@v3 | |
| - name: Run tests | |
| run: | | |
| just build | |
| just down -v | |
| just up | |
| sleep 3 | |
| just test | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-traces | |
| path: build/test-results/ | |
| - if: ${{ failure() }} | |
| name: Print logs | |
| run: | | |
| FOLLOW_LOGS='' just logs |