Skip to content

Commit

Permalink
ci: fix pypy conditional
Browse files Browse the repository at this point in the history
The operator = doesn't do pattern matching in [[ ... ]] - operator ==
must be used instead.

Signed-off-by: Ondrej Mosnacek <[email protected]>
  • Loading branch information
WOnder93 authored and bachradsusi committed Jan 16, 2025
1 parent 4cd64e2 commit 897f8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
PYTHON_SYS_PREFIX="$(python -c 'import sys;print(sys.prefix)')"
echo "PKG_CONFIG_PATH=${PYTHON_SYS_PREFIX}/lib/pkgconfig" >> $GITHUB_ENV
if [[ "${{ matrix.python-ruby-version.python }}" = pypy* ]] ; then
if [[ "${{ matrix.python-ruby-version.python }}" == pypy* ]] ; then
# PyPy does not provide a config file for pkg-config
# libpypy-c.so is provided in bin/libpypy-c.so for PyPy and bin/libpypy3-c.so for PyPy3
echo "PYINC=-I${PYTHON_SYS_PREFIX}/include" >> $GITHUB_ENV
Expand Down

0 comments on commit 897f8ca

Please sign in to comment.