ci: integrated with poetry

This commit is contained in:
Xyphuz 2022-05-08 16:11:49 +08:00
parent 4ec21e57f0
commit c4b6408eaa
3 changed files with 10 additions and 6 deletions

View file

@ -87,7 +87,13 @@ jobs:
docker-compose -f tests/in/111110.yaml config -q
docker-compose -f tests/in/111111.yaml config -q
- name: Setup Poetry
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.1.7
- run: |
poetry install
- name: Validate Custom Input File
run: |
pip install -r requirements.txt
pytest
poetry run python -m pytest

View file

@ -26,7 +26,7 @@ jobs:
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.1.7
run: |
- run: |
poetry install
poetry build

View file

@ -1,2 +0,0 @@
pytest==7.1.1
typer==0.4.1