Skip to content

Commit c9c729a

Browse files
committed
add pytest to workflow
1 parent 5d30b4d commit c9c729a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ jobs:
6464
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
6565
CIBW_ENVIRONMENT: >
6666
GEOS_DIR=/project/extern
67-
CPATH=/projectextern/include
67+
CPATH=/project/extern/include
6868
LIBRARY_PATH=/project/extern/lib
6969
LD_LIBRARY_PATH=/project/extern/lib
7070
SETUPTOOLS_USE_DISTUTILS=stdlib
7171
CIBW_TEST_COMMAND: >
72-
cd {project} && python -m pytest --cov="mpl_toolkits.basemap"
72+
cd project
73+
pip install pytest
74+
python -m pytest --cov="mpl_toolkits.basemap"
7375
--cov-report=term --ignore=dist --ignore=build
7476
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
7577
run: |

0 commit comments

Comments
 (0)