mirror of https://github.com/MagicStack/uvloop.git
Workflow touchups
This commit is contained in:
parent
62b2af9c72
commit
3f691ab2a1
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue