Skip to content

Commit 1bf5224

Browse files
author
Martin Urban
committed
Update GHA VII
1 parent 9034255 commit 1bf5224

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/unix_like_wheels.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
run: |
3939
sudo apt update -y && sudo apt-get install git build-essential libxmu-dev libxi-dev libgl-dev libglew-dev libpng-dev libfreetype6-dev libxml2-dev libmsgpack-dev libglm-dev libnetcdf-dev autoconf perl libipc-run-perl -y
4040
41+
- name: Setup IPC::cmd perl for Ubuntu
42+
if: runner.os == 'Linux'
43+
uses: perl-actions/install-with-cpanm@v1
44+
with:
45+
install: |
46+
IPC::Cmd
47+
4148
- name: Initialize vcpkg
4249
run: |
4350
git clone https://github.com/Microsoft/vcpkg.git vendor/vcpkg
@@ -69,13 +76,6 @@ jobs:
6976
export ARCH=$(uname -m)
7077
cibuildwheel .
7178
72-
- name: Run pytest
73-
run: |
74-
source .venv/bin/activate
75-
pip install pytest
76-
cd tests/
77-
pytest
78-
7979
- name: Upload artifact
8080
uses: actions/upload-artifact@v4
8181
with:

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ pymol2 = "modules/pymol2"
7070
[tool.cibuildwheel]
7171
# Only build on CPython 3.6
7272
build = ["cp310-*", "cp311-*", "cp312-*"]
73+
test-requires = ["pytest", "importlib_metadata"]
74+
test-command = "pytest tests/"

0 commit comments

Comments
 (0)