Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
Removed duplicate testing with pytest
  • Loading branch information
deedy5 authored Sep 30, 2023
1 parent 1ecacc1 commit 1ce76a6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,13 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --ignore=E999
# 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 --ignore=E999
- name: Test with pytest
run: |
pytest
- name: isort
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=E999
- name: Isort
run: |
isort duckduckgo_search --profile black --check
- name: Black
run: |
black --check --diff --target-version=py38 duckduckgo_search
- name: Run tests
- name: Test with pytest
run: |
pytest

0 comments on commit 1ce76a6

Please sign in to comment.