diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-22 15:53:06 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-22 15:53:06 +0200 |
| commit | c87f4c0e7be584d15a78804b73968aa90f726691 (patch) | |
| tree | 9a0bedef580b81207d79b3d85a55a01fe9472bab | |
| parent | ed284de54fd7efb135d154b33c33b4b5e76a454d (diff) | |
| download | wheel-git-c87f4c0e7be584d15a78804b73968aa90f726691.tar.gz | |
Switched to installing and running flake8 directly
This paves the way for using more linting tools in the same build phase.
| -rw-r--r-- | .github/workflows/codeqa-test.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/codeqa-test.yml b/.github/workflows/codeqa-test.yml index cf75fa1..9c27901 100644 --- a/.github/workflows/codeqa-test.yml +++ b/.github/workflows/codeqa-test.yml @@ -6,17 +6,20 @@ on: pull_request: jobs: - flake8: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Check code style with Flake8 - uses: TrueBrain/actions-flake8@v2 + - uses: actions/setup-python@v2 with: - path: src tests + python-version: 3.x + - name: Install dependencies + run: pip install flake8 + - name: Run flake8 + run: flake8 src tests test: - needs: [flake8] + needs: [lint] strategy: fail-fast: false matrix: |
