This commit is contained in:
@@ -9,21 +9,16 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./app
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install dependencies
|
||||
- name: Run tests and linting
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
cd app
|
||||
pip install -e ".[dev]"
|
||||
- name: Run tests
|
||||
run: python -m pytest tests/ -v --cov=src --cov-report=term-missing
|
||||
- name: Check linting
|
||||
run: |
|
||||
python -m pytest tests/ -v --cov=src --cov-report=term-missing
|
||||
pip install ruff
|
||||
ruff check .
|
||||
|
||||
Reference in New Issue
Block a user