Skip to content

Commit

Permalink
CI, MAINT: restrictions on pre-release CI (scipy#14166)
Browse files Browse the repository at this point in the history
* pre-release builds are currently causing a series of
CI test failures on both `master` and backport PRs (like
this one: scipy#14148)

* for the specific case of `maintenance/` branch-targeted
backports, the changes suggested here aim to prevent
the pre-release checks from running on release branch PRs
on the basis that they will inevitably break in non-relevant
ways (unsupported Python versions, transient NumPy nightly
issues, etc.--I believe it may actually be latest NumPy
in this case since Python 3.7 pre-rel has similar failures
to Python 3.10)
  • Loading branch information
tylerjereddy authored Jun 2, 2021
1 parent 91cd88d commit 066347a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

test_nightly:
name: Nightly CPython
if: "github.repository == 'scipy/scipy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]') && !contains(github.ref, 'maintenance/')"
if: "github.repository == 'scipy/scipy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]') && !contains(github.ref, 'maintenance/') && !contains(github.base_ref, 'maintenance/')"
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ stages:
AZURE_CI: 'true'
jobs:
- job: pre_release_deps_source_dist
condition: eq(variables['System.PullRequest.TargetBranch'], 'master')
pool:
vmImage: 'ubuntu-18.04'
steps:
Expand Down

0 comments on commit 066347a

Please sign in to comment.