Skip to content

Commit 12852e6

Browse files
authored
Merge pull request #48 from MobilityDB/develop
Fix python version in build wheels step of build workflow and disable all PyPy builds and tests
2 parents d25f657 + a2bb93f commit 12852e6

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/build_pymeos_cffi.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
name: Build PyMEOS CFFI for ${{ matrix.os }}
4040
runs-on: ${{ matrix.os }}
4141
strategy:
42-
fail-fast: false
4342
matrix:
4443
os: [ ubuntu-latest, macos-13, macos-14 ]
4544
include:
@@ -87,7 +86,6 @@ jobs:
8786
- name: Setup Python
8887
uses: actions/setup-python@v5
8988
with:
90-
python-version: 3.8
9189
cache: "pip"
9290

9391
- name: Install cibuildwheel
@@ -114,10 +112,10 @@ jobs:
114112
export PACKAGE_DATA=1
115113
python -m cibuildwheel --output-dir wheelhouse
116114
env:
117-
# Disable PyPy builds on Linux since shapely has no built distributions for them
115+
# Disable PyPy builds
118116
# Disable builds on musllinux
119117
# Disable builds in linux architectures other than x86_64
120-
CIBW_SKIP: "pp*-manylinux* *musllinux*"
118+
CIBW_SKIP: "pp* *musllinux*"
121119
CIBW_ARCHS_LINUX: "x86_64"
122120
CIBW_ENVIRONMENT_PASS_LINUX: PACKAGE_DATA LD_LIBRARY_PATH PROJ_DATA
123121
CIBW_BEFORE_ALL_LINUX: >
@@ -137,7 +135,8 @@ jobs:
137135
make -j &&
138136
make install
139137
140-
CIBW_TEST_COMMAND: "python -c \"from pymeos_cffi import meos_initialize, meos_finalize; meos_initialize('UTC'); meos_finalize()\""
138+
# Skip tests since they will be thoroughly tested in the next job
139+
CIBW_TEST_SKIP: "*"
141140

142141
- uses: actions/upload-artifact@v4
143142
with:
@@ -219,4 +218,4 @@ jobs:
219218
- name: Create Release
220219
uses: softprops/action-gh-release@v2
221220
with:
222-
files: ./dist/*
221+
files: ./dist/*

0 commit comments

Comments
 (0)