From 2684ffb3800f063daf69e7f9269744cc6fc7f358 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 9 Jan 2021 17:14:44 +0000 Subject: [PATCH] tests: CI: fix deps for check --- .github/workflows/check.yml | 18 ------------------ .github/workflows/test.yml | 4 +++- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d36c9a0e..1e443233 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,24 +25,6 @@ jobs: - run: tox env: TOXENV: ${{ matrix.TOXENV }} - lint: - if: github.event_name != 'pull_request' || github.head_ref != 'devel' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - uses: reviewdog/action-setup@v1 - - run: pip install -U flake8 - - if: github.event_name != 'schedule' - name: flake8 - run: | - set -o pipefail - flake8 -j8 --count --statistics . | \ - reviewdog -f=pep8 -name=flake8 -tee -reporter=github-check -filter-mode nofilter - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} asvfull: if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || github.event_name == 'schedule' name: Benchmark (Full) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 398621b6..1f13be4e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,8 @@ jobs: name: check steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-python@v2 - name: set PYSHA run: echo "PYSHA=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV @@ -20,7 +22,7 @@ jobs: key: pre-commit|${{ env.PYSHA }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: dependencies run: | - pip install -U pre-commit + pip install -U pre-commit docutils pygments py-make sudo apt-get install -yqq pandoc - uses: reviewdog/action-setup@v1 - if: github.event_name != 'schedule'