Skip to content

Commit 5019e7e

Browse files
authored
Migrate to poetry package manager (#60)
1 parent 72b8ab8 commit 5019e7e

File tree

6 files changed

+1935
-57
lines changed

6 files changed

+1935
-57
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)