allow CI to continue when nightly Rust is broken
This commit is contained in:
parent
b281a6cc08
commit
d835a4c86c
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -22,7 +22,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
continue-on-error: ${{ endsWith(inputs.python-version, '-dev') || contains(fromJSON('["3.7", "pypy3.7"]'), inputs.python-version) || inputs.rust == 'beta' }}
|
continue-on-error: ${{ endsWith(inputs.python-version, '-dev') || contains(fromJSON('["3.7", "pypy3.7"]'), inputs.python-version) || inputs.rust == 'beta' || inputs.rust == 'nightly' }}
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -165,8 +165,20 @@ jobs:
|
||||||
os: "windows-latest",
|
os: "windows-latest",
|
||||||
python-architecture: "x86",
|
python-architecture: "x86",
|
||||||
rust-target: "i686-pc-windows-msvc",
|
rust-target: "i686-pc-windows-msvc",
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
|
include:
|
||||||
|
# Test nightly Rust on PRs so that PR authors have a chance to fix nightly
|
||||||
|
# failures, as nightly does not block merge.
|
||||||
|
- rust: nightly
|
||||||
|
python-version: "3.12"
|
||||||
|
platform:
|
||||||
|
{
|
||||||
|
os: "ubuntu-latest",
|
||||||
|
python-architecture: "x64",
|
||||||
|
rust-target: "x86_64-unknown-linux-gnu",
|
||||||
|
}
|
||||||
|
extra-features: "nightly multiple-pymethods"
|
||||||
build-full:
|
build-full:
|
||||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
|
||||||
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} rust-${{ matrix.rust }}
|
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} rust-${{ matrix.rust }}
|
||||||
|
|
Loading…
Reference in a new issue