Skip to content

Commit 62293ee

Browse files
committed
CI: Run tests in source tree since the tests are not installed as part of the wheel and currently live in the source tree.
1 parent 560ef55 commit 62293ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: sudo apt-get install lib${{ matrix.lua-version }}-dev
8080

8181
- name: Build wheel
82-
run: python setup.py sdist build_ext -j6 bdist_wheel
82+
run: python setup.py sdist build_ext -i -j6 bdist_wheel
8383
env:
8484
SETUP_OPTIONS: ${{ !contains(matrix.lua-version, 'luajit') && (contains(matrix.lua-version, 'bundle') && '--use-bundle' || '--no-luajit') || '' }}
8585
CFLAGS: ${{ env.CFLAGS }} ${{ env.CFLAGS_LTO }}
@@ -88,7 +88,7 @@ jobs:
8888
- name: Run tests
8989
run: |
9090
bash -c "python -m pip install dist/lupa-*.whl"
91-
cd dist ; python -m lupa.tests.__main__
91+
python -m lupa.tests.__main__
9292
continue-on-error: ${{ contains(matrix.python-version, 'pypy') }}
9393

9494
- name: Upload wheels

0 commit comments

Comments
 (0)