Skip to content

Commit

Permalink
Merge pull request #9814 from pradyunsg/revamp-ci-apr-2021-v2
Browse files Browse the repository at this point in the history
Run all of CI, on scheduled runs
  • Loading branch information
sbidoul committed Apr 24, 2021
2 parents 4b8004a + e9cc23f commit 1320bac
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -33,6 +33,7 @@ jobs:
- "tools/requirements/tests.txt"
- "src/**"
- "tests/**"
if: github.event_name == 'pull_request'

pre-commit:
name: pre-commit
Expand Down Expand Up @@ -66,7 +67,9 @@ jobs:
runs-on: ubuntu-latest

needs: [determine-changes]
if: ${{ needs.determine-changes.outputs.vendoring == 'true' }}
if: >-
needs.determine-changes.outputs.vendoring == 'true' ||
github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
Expand All @@ -81,7 +84,9 @@ jobs:
runs-on: ${{ matrix.os }}-latest

needs: [pre-commit, packaging, determine-changes]
if: ${{ needs.determine-changes.outputs.tests == 'true' }}
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
strategy:
fail-fast: true
Expand Down Expand Up @@ -119,7 +124,9 @@ jobs:
runs-on: ${{ matrix.os }}-latest

needs: [pre-commit, packaging, determine-changes]
if: ${{ needs.determine-changes.outputs.tests == 'true' }}
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
strategy:
fail-fast: true
Expand Down

0 comments on commit 1320bac

Please sign in to comment.