Fix github action
This commit is contained in:
parent
f42c8ecfd5
commit
2590be0690
1 changed files with 5 additions and 6 deletions
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
|
@ -12,16 +12,15 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install poetry
|
||||
run: pipx install poetry==1.1.15
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: poetry
|
||||
python-version: '3.11'
|
||||
cache: pip
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
poetry install
|
||||
pip install pip-tools
|
||||
pip-sync requirements.txt requirements-dev.txt
|
||||
- name: Test
|
||||
run: poetry run pytest --cov=. --cov-branch --cov-report term-missing:skip-covered
|
||||
run: pytest --cov=. --cov-branch --cov-report term-missing:skip-covered
|
||||
working-directory: ./src/
|
||||
|
|
Reference in a new issue