Skip to content

Commit

Permalink
Feat: remove linter and coverage rapport
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Dec 12, 2023
1 parent 8c692c7 commit 6ce272c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# 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: |
pytest -m "not apitest" --cov
- name: Generate coverage report
run: |
coverage xml
pytest
- name: Check if CODECOV_TOKEN exists
id: check-secret
run: |
Expand Down

0 comments on commit 6ce272c

Please sign in to comment.