Fix CI: combine all steps into one
Some checks failed
CI / test (push) Failing after 15s

This commit is contained in:
2026-02-04 18:11:36 +00:00
parent 99ca60c7b4
commit 3d1c1d11ac

View File

@@ -9,21 +9,16 @@ 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
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install dependencies - name: Run tests and linting
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 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 pip install ruff
ruff check . ruff check .