Skip to content

Commit

Permalink
fix python_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Mar 16, 2024
1 parent d3e5d06 commit 62e9e11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --system --deploy
pip install poetry
poetry install
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pipenv install --system --deploy
pip install pytest
cd tests
pytest
poetry run pytest
13 changes: 0 additions & 13 deletions .github/workflows/update_docker_description.yml

This file was deleted.

0 comments on commit 62e9e11

Please sign in to comment.