ci: fail ffi-check on pypy failures
This commit is contained in:
parent
93f7694e95
commit
24ea1de27b
|
@ -122,7 +122,7 @@ jobs:
|
||||||
|
|
||||||
- uses: dorny/paths-filter@v2
|
- uses: dorny/paths-filter@v2
|
||||||
# pypy 3.7 and 3.8 are not PEP 3123 compliant so fail checks here
|
# pypy 3.7 and 3.8 are not PEP 3123 compliant so fail checks here
|
||||||
if: ${{ inputs.rust == 'stable' && inputs.python-version != 'pypy-3.7' && inputs.python-version != 'pypy-3.8' }}
|
if: ${{ inputs.rust == 'stable' && inputs.python-version != 'pypy3.7' && inputs.python-version != 'pypy3.8' }}
|
||||||
id: ffi-changes
|
id: ffi-changes
|
||||||
with:
|
with:
|
||||||
base: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
|
base: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
|
||||||
|
@ -136,9 +136,9 @@ jobs:
|
||||||
|
|
||||||
- name: Run pyo3-ffi-check
|
- name: Run pyo3-ffi-check
|
||||||
run: nox -s ffi-check
|
run: nox -s ffi-check
|
||||||
# Allow failure on PyPy for now
|
# pypy 3.7 and 3.8 are not PEP 3123 compliant so fail checks here, nor
|
||||||
continue-on-error: ${{ startsWith(inputs.python-version, 'pypy') }}
|
# is pypy 3.9 on windows
|
||||||
if: ${{ steps.ffi-changes.outputs.changed == 'true' && inputs.rust == 'stable' && inputs.python-version != 'pypy-3.7' && inputs.python-version != 'pypy-3.8' }}
|
if: ${{ steps.ffi-changes.outputs.changed == 'true' && inputs.rust == 'stable' && inputs.python-version != 'pypy3.7' && inputs.python-version != 'pypy3.8' && !(inputs.python-version == 'pypy3.9' && contains(inputs.os, 'windows')) }}
|
||||||
|
|
||||||
|
|
||||||
- name: Test cross compilation
|
- name: Test cross compilation
|
||||||
|
|
Loading…
Reference in New Issue