13
13
- uses : actions/checkout@v3
14
14
15
15
- name : Set up Python
16
- uses : actions/setup-python@v3
16
+ uses : actions/setup-python@v4
17
17
with :
18
18
python-version : 3.7.12
19
19
@@ -37,21 +37,24 @@ jobs:
37
37
fail-fast : false
38
38
matrix :
39
39
# temporarily downgraded to 3.7.9 and 3.8.10 due to a bug https://github.com/actions/setup-python/issues/402
40
- python-version : ["3.7.9", "3.8.10", "3.9.13", "3.10.4", "pypy- 3.9"]
40
+ python-version : ["3.7.9", "3.8.10", "3.9.13", "3.10.4", "pypy3.9-v7. 3.9"]
41
41
os : [macos-10.15, macos-11, ubuntu-18.04, ubuntu-20.04, windows-2019, windows-2022]
42
42
exclude :
43
43
# temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
44
44
- os : macos-10.15
45
- python-version : " pypy- 3.9"
45
+ python-version : " pypy3.9-v7. 3.9"
46
46
- os : macos-11
47
- python-version : " pypy-3.9"
47
+ python-version : " pypy3.9-v7.3.9"
48
+ # temporarily exclude pypy3 on ubuntu-18.04 as there an issue with installing numpy
49
+ - os : ubuntu-18.04
50
+ python-version : " pypy3.9-v7.3.9"
48
51
49
52
steps :
50
53
51
54
- uses : actions/checkout@v3
52
55
53
56
- name : Set up Python ${{ matrix.python-version }}
54
- uses : actions/setup-python@v3
57
+ uses : actions/setup-python@v4
55
58
with :
56
59
python-version : ${{ matrix.python-version }}
57
60
architecture : x64
77
80
run : python -m pip install -r requirements.txt
78
81
79
82
- name : Install additional requirements (CPython)
80
- if : ${{ matrix.python-version != 'pypy- 3.9' }}
83
+ if : ${{ matrix.python-version != 'pypy3.9-v7. 3.9' }}
81
84
run : python -m pip install "matplotlib==3.5.2" "gurobipy==9.5.1"
82
85
83
86
- name : Install mip
@@ -87,13 +90,13 @@ jobs:
87
90
run : python -m pip list
88
91
89
92
- name : Run tests PyPy
90
- if : ${{ matrix.python-version == 'pypy- 3.9'}}
93
+ if : ${{ matrix.python-version == 'pypy3.9-v7. 3.9'}}
91
94
run : |
92
95
python -m pytest test --verbose --color=yes --doctest-modules --ignore="test/test_gurobi.py"
93
96
python -m pytest mip --verbose --color=yes --doctest-modules --ignore="mip/gurobi.py"
94
97
95
98
- name : Run tests
96
- if : ${{ matrix.python-version != 'pypy- 3.9'}}
99
+ if : ${{ matrix.python-version != 'pypy3.9-v7. 3.9'}}
97
100
run : |
98
101
python -m pytest test --verbose --color=yes --doctest-modules
99
102
python -m pytest mip --verbose --color=yes --doctest-modules --ignore="mip/gurobi.py"
0 commit comments