Skip to content

Commit

Permalink
CI: Install wheel before running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Oct 17, 2024
1 parent f9cb3a3 commit 7ba74ce
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,10 @@ jobs:
LDFLAGS: ${{ env.CFLAGS_LTO }}

- name: Run tests
run: python -m lupa.tests.__main__
run: |
python -m pip install dist/lupa-*.whl
python -m lupa.tests.__main__
continue-on-error: ${{ contains(matrix.python-version, 'pypy') }}
env:
SETUP_OPTIONS: ${{ !contains(matrix.lua-version, 'luajit') && (contains(matrix.lua-version, 'bundle') && '--use-bundle' || '--no-luajit') || '' }}
CFLAGS: ${{ env.CFLAGS }} ${{ env.CFLAGS_LTO }}
LDFLAGS: ${{ env.CFLAGS_LTO }}

- name: Upload wheels
if: matrix.lua-version == 'bundle' && matrix.os == 'macos-latest'
Expand Down

0 comments on commit 7ba74ce

Please sign in to comment.