Skip to content

Commit 622e882

Browse files
committed
Update github workflow to use poetry
1 parent 5ac4426 commit 622e882

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/check.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,11 @@ jobs:
2727
uses: actions/setup-python@v2
2828
with:
2929
python-version: ${{ matrix.python-version }}
30+
- name: Setup poetry
31+
uses: abatilo/[email protected]
3032
- name: Install dependencies
31-
run: |
32-
python -m pip install --upgrade pip
33-
python -m pip install -r requirements-test.txt
33+
run: poetry install -E crypto
3434
- name: Lint with flake8
35-
run: |
36-
# stop the build if there are Python syntax errors or undefined names
37-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
38-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
39-
flake8 . --count --exit-zero --max-complexity=15 --statistics
35+
run: poetry run flake8
4036
- name: Test with pytest
41-
run: |
42-
pytest
37+
run: poetry run pytest

0 commit comments

Comments
 (0)