split up the validation yaml file into individual files for each model #74
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: Test package | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: Linting, formatting, static analysis | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version: '3.13' | |
| cache: true | |
| cache-dependency-path: 'pdm.lock' | |
| - name: Install necessary dependencies | |
| run: pdm install --group dev | |
| - name: Run checks | |
| run: pdm run check | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| needs: check | |
| strategy: | |
| matrix: | |
| python-version: ['3.13'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: true | |
| cache-dependency-path: 'pdm.lock' | |
| - name: Install necessary dependencies | |
| run: pdm install --group dev | |
| - name: Run tests | |
| run: pdm run test |