Skip to content

Commit

Permalink
CI: Run tests in source tree since the tests are not installed as par…
Browse files Browse the repository at this point in the history
…t of the wheel and currently live in the source tree.
  • Loading branch information
scoder committed Jan 10, 2025
1 parent 560ef55 commit 62293ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: sudo apt-get install lib${{ matrix.lua-version }}-dev

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

- name: Upload wheels
Expand Down

0 comments on commit 62293ee

Please sign in to comment.