Skip to content

Commit

Permalink
CI: fix checks on schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Nov 23, 2020
1 parent 819f6e0 commit a3124bb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/check.yml
Expand Up @@ -35,7 +35,8 @@ jobs:
python-version: '3.x'
- uses: reviewdog/action-setup@v1
- run: pip install -U flake8
- name: flake8
- if: github.event_name != 'schedule'
name: flake8
run: |
set -o pipefail
flake8 -j8 --count --statistics . | \
Expand All @@ -57,9 +58,8 @@ jobs:
run: |
pip install -U wheel
pip install -U virtualenv asv
git checkout master && git checkout -
asv machine --machine github-actions --yes
git fetch --tags
git fetch origin master:master
- name: Restore previous results
uses: actions/cache@v2
with:
Expand All @@ -85,16 +85,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install
run: |
pip install -U wheel
pip install -U virtualenv asv
git checkout master && git checkout -
asv machine --machine github-actions --yes
git fetch --tags
git fetch origin master:master
- name: Restore previous results
uses: actions/cache@v2
with:
Expand Down

0 comments on commit a3124bb

Please sign in to comment.