[refactor] move math tests out of the source file #347
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: tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - src/** | |
| - tests/** | |
| - .github/** | |
| pull_request: | |
| branches: [ main ] | |
| workflow_run: | |
| workflows: [update test refs] | |
| types: [completed] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install tytanic (binary) | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: [email protected] | |
| - name: Run test suite | |
| run: tt run --no-fail-fast | |
| - name: Archive artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: artifacts | |
| path: | | |
| tests/**/diff/*.png | |
| tests/**/out/*.png | |
| tests/**/ref/*.png | |
| retention-days: 5 |