Skip to content

Commit

Permalink
Remove logging and reinstate running tests
Browse files Browse the repository at this point in the history
The fix is to pin cibuildwheel at 2.2.2, but I'm doing this for the
failing build log so I can raise an issue against cibuildwheel
  • Loading branch information
AlexanderWells-diamond committed Dec 15, 2021
1 parent 494e93d commit 03a626b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/code.yml
Expand Up @@ -54,16 +54,13 @@ jobs:
fetch-depth: 0
submodules: true

- name: Print softioc dir
run: dir softioc

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.7"

- name: Install Python Dependencies
run: pip install build cibuildwheel==2.2.2
run: pip install build cibuildwheel

- name: Build Sdist
if: matrix.sdist
Expand All @@ -74,15 +71,13 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.python }}*64
CIBW_TEST_EXTRAS: dev
# CIBW_TEST_COMMAND: pytest {project}/tests --cov-report xml:${{ matrix.cov_file }}
CIBW_TEST_COMMAND: pytest {project}/tests --cov-report xml:${{ matrix.cov_file }}
# Disable auditwheel as it isn't compatible with setuptools_dso approach
# https://github.com/mdavidsaver/setuptools_dso/issues/17
CIBW_REPAIR_WHEEL_COMMAND: ""
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_ENVIRONMENT_LINUX: SETUPTOOLS_DSO_PLAT_NAME=manylinux1_x86_64
CIBW_SKIP: "*-musllinux*" # epicscorelibs doesn't build on musllinux platforms
# Some debugging variables to work out why subfolder not on Windows
CIBW_BEFORE_ALL_WINDOWS: dir softioc

- name: Upload Wheel and Sdist
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 03a626b

Please sign in to comment.