File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ jobs:
111111 - name : Set up Python packages
112112 run : |
113113 python -m pip install -U ${{ startsWith(matrix.python-version, '2.7') && '"pip<21" "setuptools<45"' || 'pip setuptools' }}
114- python -m pip install -U wheel tox virtualenv -r requirements.txt
114+ python -m pip install -U wheel tox virtualenv pytest -r requirements.txt
115115
116116 - name : Set up Lua ${{ matrix.lua-version }}
117117 if : contains(matrix.os, 'ubuntu') && matrix.lua-version != 'bundle'
@@ -125,7 +125,7 @@ jobs:
125125 LDFLAGS : ${{ env.CFLAGS_LTO }}
126126
127127 - name : Run tests
128- run : python setup.py test
128+ run : pytest lupa
129129 continue-on-error : ${{ contains(matrix.python-version, 'pypy') }}
130130 env :
131131 SETUP_OPTIONS : ${{ !contains(matrix.lua-version, 'luajit') && (contains(matrix.lua-version, 'bundle') && '--use-bundle' || '--no-luajit') || '' }}
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ install:
2727 - SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%
2828 - python -m pip.__main__ install -U pip wheel setuptools
2929 - pip install -r requirements.txt
30+ - pip install pytest
3031 - git submodule update --init --recursive
3132
3233build : off
@@ -37,7 +38,7 @@ build_script:
3738
3839test : off
3940test_script :
40- - python -u setup.py test
41+ - pytest lupa
4142
4243artifacts :
4344 - path : dist/*.whl
Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ envlist=
1313deps =
1414 Cython
1515 setuptools
16+ pytest
1617passenv =
1718 SETUP_OPTIONS
1819commands =
1920 {envpython} setup.py --with-cython {env:SETUP_OPTIONS:} build install
20- {envpython} setup.py test
21+ {envpython} pytest lupa
2122sitepackages =False
You can’t perform that action at this time.
0 commit comments