Skip to content

Commit

Permalink
Use flake8 directly instead of through pytest-flake8
Browse files Browse the repository at this point in the history
pytest-flake8 is failing due to tholo/pytest-flake8#88.
  • Loading branch information
lpsinger committed Apr 5, 2023
1 parent 0cafa95 commit 4480bb8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pytest-flake8 pytest-cov
pip install flake8 pytest-cov
- name: Lint
run: |
flake8 .
- name: Build
run: |
pip install -e .
- name: Test
run: |
pytest --flake8 --cov --cov-report=xml
pytest --cov --cov-report=xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@v3

0 comments on commit 4480bb8

Please sign in to comment.