Skip to content

fixed test workflow

fixed test workflow #6

Workflow file for this run

name: "Backend: Lint & Test"
on:
workflow_dispatch:
push:
branches:
- main
jobs:
lint_and_test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Install the project
run: |
cd backend
uv sync --frozen
echo "VIRTUAL_ENV=./.venv" >> $GITHUB_ENV
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
- name: Lint the project
run: uv run task lint
- name: Run tests
run: uv run task test