Skip to content

Commit 6a52534

Browse files
committed
Add simple test command
1 parent 324b8fe commit 6a52534

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches:
77
- develop
88
- main
9+
tags:
10+
- *
911

1012

1113
jobs:
@@ -155,8 +157,8 @@ jobs:
155157
CIBW_BUILD: "cp3{6,7,8,9}-*"
156158
CIBW_SKIP: "*-win32 *-manylinux_i686" # Skip 32 bit.
157159
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
158-
CIBW_TEST_REQUIRES: pytest
159-
CIBW_TEST_COMMAND: pytest {project}/tests
160+
# Below command fails when data is not correctly statically linked
161+
CIBW_TEST_COMMAND: "python -c 'from isal import isal_zlib, igzip; isal_zlib.adler32(b\"bla\")'"
160162
- name: Build sdist
161163
if: "runner.os == 'Linux'"
162164
run: python setup.py sdist

0 commit comments

Comments
 (0)