tests: CI: fix deps for check

This commit is contained in:
Casper da Costa-Luis 2021-01-09 17:14:44 +00:00
parent 0f9e6570da
commit 2684ffb380
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
2 changed files with 3 additions and 19 deletions

View File

@ -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)

View File

@ -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'