Fix CI: use working-directory defaults instead of cd commands
Some checks failed
CI / test (push) Failing after 14s

This commit is contained in:
2026-02-04 18:10:28 +00:00
parent b86f66a574
commit 99ca60c7b4

View File

@@ -9,6 +9,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -17,11 +20,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd app && pip install -e ".[dev]"
pip install -e ".[dev]"
- name: Run tests
run: |
cd app && python -m pytest tests/ -v --cov=src --cov-report=term-missing
run: python -m pytest tests/ -v --cov=src --cov-report=term-missing
- name: Check linting
run: |
pip install ruff
cd app && ruff check .
ruff check .