Skip to content

Commit

Permalink
fixing syntax error in pytest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abodeuis committed Jul 9, 2024
1 parent 180a551 commit 8913553
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
strategy:
matrix:
python-version: ["3.10", "3.11"]
lint-directories: ["./cdrhook", "./tests"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -31,9 +32,6 @@ jobs:
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
strategy:
matrix:
lint-directories: ["./cdrhook", "./tests"]
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 ${{ matrix.lint-directories }} --count --select=E9,F63,F7,F82 --show-source --statistics
Expand Down

0 comments on commit 8913553

Please sign in to comment.