This commit is contained in:
@@ -9,15 +9,15 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: "3.12"
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt -r requirements.dev.txt
|
||||
run: uv sync --frozen
|
||||
- name: Run tests and collect coverage
|
||||
run: |
|
||||
pytest --cov=src tests
|
||||
coverage xml
|
||||
run: make coverage
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v2
|
||||
|
||||
Reference in New Issue
Block a user