Skip to content

Commit 897f8ca

Browse files
WOnder93bachradsusi
authored andcommitted
ci: fix pypy conditional
The operator = doesn't do pattern matching in [[ ... ]] - operator == must be used instead. Signed-off-by: Ondrej Mosnacek <[email protected]>
1 parent 4cd64e2 commit 897f8ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
PYTHON_SYS_PREFIX="$(python -c 'import sys;print(sys.prefix)')"
124124
echo "PKG_CONFIG_PATH=${PYTHON_SYS_PREFIX}/lib/pkgconfig" >> $GITHUB_ENV
125125
126-
if [[ "${{ matrix.python-ruby-version.python }}" = pypy* ]] ; then
126+
if [[ "${{ matrix.python-ruby-version.python }}" == pypy* ]] ; then
127127
# PyPy does not provide a config file for pkg-config
128128
# libpypy-c.so is provided in bin/libpypy-c.so for PyPy and bin/libpypy3-c.so for PyPy3
129129
echo "PYINC=-I${PYTHON_SYS_PREFIX}/include" >> $GITHUB_ENV

0 commit comments

Comments
 (0)