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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install poetry
|
|
||||||
run: pipx install poetry==1.1.15
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
cache: poetry
|
cache: pip
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
poetry install
|
pip install pip-tools
|
||||||
|
pip-sync requirements.txt requirements-dev.txt
|
||||||
- name: Test
|
- 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/
|
working-directory: ./src/
|
||||||
|
|
Reference in a new issue