Skip to content

Commit 7ba74ce

Browse files
committed
CI: Install wheel before running tests.
1 parent f9cb3a3 commit 7ba74ce

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,10 @@ jobs:
114114
LDFLAGS: ${{ env.CFLAGS_LTO }}
115115

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

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

0 commit comments

Comments
 (0)