Workflow touchups

This commit is contained in:
Elvis Pranskevichus 2021-08-10 10:34:30 -07:00
parent 62b2af9c72
commit 3f691ab2a1
No known key found for this signature in database
GPG Key ID: 5036323AA98A9CEC
2 changed files with 19 additions and 6 deletions

View File

@ -46,6 +46,9 @@ jobs:
needs: validate-release-request needs: validate-release-request
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -85,6 +88,9 @@ jobs:
run: run:
shell: bash shell: bash
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -107,12 +113,12 @@ jobs:
CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD_VERBOSITY: 1
CIBW_BUILD: ${{ matrix.cibw_python }} CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS: ${{ matrix.cibw_arch }} CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: "cd .. && python {project}/tests/__init__.py"
CIBW_TEST_COMMAND_WINDOWS: "cd .. && python {project}\\tests\\__init__.py"
CIBW_TEST_SKIP: "*universal2:arm64"
# This is needed for now because cffi has no cp310 wheels # This is needed for now because cffi has no cp310 wheels
CIBW_BEFORE_BUILD_LINUX: "yum -y install libffi-devel" CIBW_BEFORE_ALL_LINUX: "yum -y install libffi-devel"
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: "python {project}/tests/__init__.py"
CIBW_TEST_COMMAND_WINDOWS: "python {project}\\tests\\__init__.py"
CIBW_TEST_SKIP: "*universal2:arm64"
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:

View File

@ -17,6 +17,9 @@ jobs:
python-version: [3.7, 3.8, 3.9, 3.10.0-rc.1] python-version: [3.7, 3.8, 3.9, 3.10.0-rc.1]
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -52,7 +55,11 @@ jobs:
- name: Test - name: Test
if: steps.release.outputs.version == 0 if: steps.release.outputs.version == 0
run: | run: |
make distclean && make && make test make test
- name: Test (debug build)
if: steps.release.outputs.version == 0
run: |
make distclean && make debug && make test make distclean && make debug && make test
# This job exists solely to act as the test job aggregate to be # This job exists solely to act as the test job aggregate to be