From 73ab2502aed5d0c52001e751e98f879957323344 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Mon, 4 Mar 2024 09:51:47 +0100 Subject: [PATCH] Final touches for CI --- .github/workflows/nmodl-wheel.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nmodl-wheel.yml b/.github/workflows/nmodl-wheel.yml index 3d994f5f8..af58cae0f 100644 --- a/.github/workflows/nmodl-wheel.yml +++ b/.github/workflows/nmodl-wheel.yml @@ -34,10 +34,14 @@ jobs: run: | brew install flex bison - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch: 0 # Used to host cibuildwheel - - uses: actions/setup-python@v3 + - name: Set up Python + uses: actions/setup-python@v3 - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.16.5 @@ -58,10 +62,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch: 0 # Used to host cibuildwheel - - uses: actions/setup-python@v3 + - name: Set up Python + uses: actions/setup-python@v3 - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.16.5 @@ -103,6 +111,5 @@ jobs: - name: Test manylinux Wheel with Python ${{ matrix.python_version }} run: | - set -eux dotless_version="$(echo "${{ matrix.python_version }}" | tr -d '.')" find ${{ github.workspace }} -name "*cp${dotless_version}-manylinux*.whl" -exec bash packaging/test_wheel.bash python${{ matrix.python_version }} {} \;