Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/backend-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ on:
jobs:
check_paths:
runs-on: ubuntu-latest

outputs:
should_run: ${{ steps.filter.outputs.backend }}

steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3.0.2
Expand Down Expand Up @@ -46,10 +48,6 @@ jobs:
uv run ruff check --output-format=github --target-version=py313 src tests
uv run ruff format --diff --check --target-version=py313 src tests

- name: Run tests with coverage
run: |
uv run pytest

- name: Run tests with coverage
run: |
uv run pytest tests/ -v --cov=src/backend --cov-report=xml --cov-fail-under=80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ on:
jobs:
check_paths:
runs-on: ubuntu-latest

outputs:
should_run: ${{ steps.filter.outputs.frontend }}

steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3.0.2
Expand Down Expand Up @@ -46,10 +48,6 @@ jobs:
uv run ruff check --output-format=github --target-version=py313 src tests
uv run ruff format --diff --check --target-version=py313 src tests

- name: Run tests with coverage
run: |
uv run pytest

- name: Run tests with coverage
run: |
uv run pytest tests/ -v --cov=src/frontend --cov-report=xml --cov-fail-under=80
Expand Down