Skip to content

Commit

Permalink
Workflow touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Aug 10, 2021
1 parent 62b2af9 commit 3f691ab
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
needs: validate-release-request
runs-on: ubuntu-latest

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -85,6 +88,9 @@ jobs:
run:
shell: bash

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -107,12 +113,12 @@ jobs:
CIBW_BUILD_VERBOSITY: 1
CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS: ${{ matrix.cibw_arch }}
# This is needed for now because cffi has no cp310 wheels
CIBW_BEFORE_ALL_LINUX: "yum -y install libffi-devel"
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_COMMAND: "python {project}/tests/__init__.py"
CIBW_TEST_COMMAND_WINDOWS: "python {project}\\tests\\__init__.py"
CIBW_TEST_SKIP: "*universal2:arm64"
# This is needed for now because cffi has no cp310 wheels
CIBW_BEFORE_BUILD_LINUX: "yum -y install libffi-devel"

- uses: actions/upload-artifact@v2
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
python-version: [3.7, 3.8, 3.9, 3.10.0-rc.1]
os: [ubuntu-latest, macos-latest]

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -52,7 +55,11 @@ jobs:
- name: Test
if: steps.release.outputs.version == 0
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
# This job exists solely to act as the test job aggregate to be
Expand Down

0 comments on commit 3f691ab

Please sign in to comment.