From 4480bb814db0c5242492eb47f3fd0ec6522ffb20 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Wed, 5 Apr 2023 09:56:47 -0400 Subject: [PATCH] Use flake8 directly instead of through pytest-flake8 pytest-flake8 is failing due to tholo/pytest-flake8#88. --- .github/workflows/build-and-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a9d4498..cddf636 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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