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/111110.yaml config -q
docker-compose -f tests/in/111111.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 - name: Validate Custom Input File
run: | run: |
pip install -r requirements.txt poetry run python -m pytest
pytest

View file

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

View file

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