chore(deps): update dependency @tpzdsp/eslint-config-dsp to v1.9.2 #854
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: Unit tests | |
| on: | |
| pull_request: | |
| workflow_call: | |
| jobs: | |
| unit-testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7 | |
| - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| npm ci | |
| - name: Check for missing migrations | |
| run: uv run python ./eodhp_web_presence/manage.py makemigrations --check | |
| - name: Build | |
| run: | | |
| npm run build | |
| uv run python ./eodhp_web_presence/manage.py collectstatic | |
| uv run python ./eodhp_web_presence/manage.py migrate | |
| - name: Run tests | |
| run: uv run pytest ./eodhp_web_presence -vv |