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