File tree Expand file tree Collapse file tree 6 files changed +1935
-57
lines changed Expand file tree Collapse file tree 6 files changed +1935
-57
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ jobs:
2525 - name : Install deps
2626 run : |
2727 python -m pip install --upgrade pip
28- pip install flake8 pytest pytest-cov
29- pip install .[ all]
28+ pip install poetry
29+ poetry install -- all-extras
3030
3131 - name : Run lint
3232 run : |
33- flake8 cirro
33+ poetry run flake8 cirro
3434
3535 - name : Run Tests
3636 working-directory : tests
3737 run : |
38- pytest --cov --cov-report=xml --cov-branch -o junit_family=xunit2 --junitxml=junit/test-results.xml
38+ poetry run pytest --cov --cov-report=xml --cov-branch -o junit_family=xunit2 --junitxml=junit/test-results.xml
Original file line number Diff line number Diff line change @@ -28,16 +28,16 @@ jobs:
2828 - name : Install deps
2929 run : |
3030 python -m pip install --upgrade pip
31- pip install wheel
31+ pip install poetry
3232
3333 - name : Test install
3434 run : |
35- python setup.py install
36- cirro-cli
35+ poetry install --all-extras
36+ poetry run cirro-cli
3737
3838 - name : Build python package
3939 run : |
40- python setup.py bdist_wheel
40+ poetry build
4141
4242 - name : Publish package
4343 if : github.event_name == 'release'
You can’t perform that action at this time.
0 commit comments