Update dependency vite to v5.4.11 #436
This file contains 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: Python check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_package: | |
name: Test ${{ matrix.os }} Python ${{ matrix.python_version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-20.04"] | |
python_version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "latest" | |
architecture: x64 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build frontend | |
run: | | |
cd ./app/frontend | |
npm install | |
npm run buildlocal | |
- name: Install dependencies | |
run: | | |
uv sync --all-extras | |
- name: Lint with ruff | |
run: uv run ruff check . | |
- name: Run Python tests | |
run: uv run pytest |