@@ -25,11 +25,10 @@ jobs:
25
25
strategy :
26
26
fail-fast : false
27
27
matrix :
28
- os : [ubuntu-20 .04]
29
- cpp-version : [g++-8 , clang-7 ]
28
+ os : [ubuntu-22 .04]
29
+ cpp-version : [g++-12 , clang-cw137 ]
30
30
python_version :
31
- - [pypy-3.10-nightly, pypy310]
32
- - [pypy-3.11-nightly, pypy311]
31
+ - [pypy-3.11-nightly]
33
32
steps :
34
33
35
34
with :
@@ -48,20 +47,27 @@ jobs:
48
47
python -m pip install cython
49
48
python -m pip install numpy -Csetup-args="-Dallow-noblas=true"
50
49
pip install -r requirements.txt
51
- pip install ipython nbval pytest-xdist wheel
52
50
sudo apt install libopenblas-dev ${{ matrix.cpp-version }}
53
51
- name : Setup
54
52
run : |
55
53
cd pythran
56
- python setup.py install
54
+ python -m pip install .
55
+ python -m pip install . 'pythran[test]'
57
56
printf '[commpiler]\nblas=openblas\n' > ~/.config/.pythranrc
58
57
printf 'cflags=-std=c++11 -Wall -Werror -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-cpp -Wno-deprecated-declarations -Wno-absolute-value\n' >> ~/.config/.pythranrc
58
+ printf 'cflags=-std=c++11 -Wall -Werror -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-cpp -Wno-deprecated-declarations' >> ~/.config/.pythranrc
59
+ if test "${{ matrix.cpp-version }}" = "clang-13" ; then printf -- " -Wno-absolute-value -Wno-parentheses-equality\n" ; else printf "\n" ; fi >> ~/.config/.pythranrc
60
+ - name : Testing minimal CLI
61
+ run : |
62
+ pythran --version
63
+ pythran --help
64
+ pythran-config -vvv
59
65
- name : Testing sequential
60
66
run : |
61
67
cd pythran
62
68
export CC=`echo ${{ matrix.cpp-version }} | sed -e 's/g++/gcc/'`
63
69
export CXX=`echo ${{ matrix.cpp-version }} | sed -e 's/clang/clang++/'`
64
- pytest pythran/tests/test_*.py -v --numprocesses=auto $PYTEST_ARGS
70
+ pytest pythran/tests/test_*.py -v -x - -numprocesses=auto $PYTEST_ARGS
65
71
66
72
pythran-windows :
67
73
runs-on : windows-latest
0 commit comments