11name : Integration test
22
33env :
4- version : 9.2.0
4+ version : 9.2.3
55
66on :
77 push :
@@ -17,14 +17,14 @@ jobs:
1717 strategy :
1818 fail-fast : true
1919 matrix :
20- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
2121 steps :
2222 - uses : actions/checkout@v3
2323
2424 - name : Install dependencies (SCIPOptSuite)
2525 run : |
26- wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Linux-ubuntu20 .deb
27- sudo apt-get update && sudo apt install -y ./SCIPOptSuite-${{ env.version }}-Linux-ubuntu20 .deb
26+ wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Linux-ubuntu22 .deb
27+ sudo apt-get update && sudo apt install -y ./SCIPOptSuite-${{ env.version }}-Linux-ubuntu22 .deb
2828
2929 - name : Setup python ${{ matrix.python-version }}
3030 uses : actions/setup-python@v4
@@ -34,22 +34,21 @@ jobs:
3434 - name : Prepare python environment
3535 run : |
3636 python -m pip install --upgrade pip
37- python -m pip install ".[ test]"
37+ python -m pip install -r requirements/ test.txt
3838
3939 - name : Install PySCIPOpt
4040 run : python -m pip install .
4141
4242 - name : Run pyscipopt tests
43- run : |
44- py.test -nauto
43+ run : pytest -nauto
4544
4645 Windows-test :
4746 env :
4847 SCIPOPTDIR : C:\scipoptdir
4948 runs-on : windows-latest
5049 strategy :
5150 matrix :
52- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
51+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
5352 steps :
5453 - uses : actions/checkout@v3
5554
7069 shell : powershell
7170 run : |
7271 python -m pip install --upgrade pip
73- python -m pip install ".[ test]"
72+ python -m pip install -r requirements/ test.txt
7473
7574 - name : Install PySCIPOpt
7675 shell : powershell
@@ -80,14 +79,13 @@ jobs:
8079
8180 - name : Run pyscipopt tests
8281 shell : powershell
83- run : |
84- py.test -nauto
82+ run : pytest -nauto
8583
8684 MacOS-test :
8785 runs-on : macos-latest
8886 strategy :
8987 matrix :
90- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
88+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
9189 steps :
9290 - uses : actions/checkout@v3
9391
9795 wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Darwin.sh
9896 chmod +x SCIPOptSuite-${{ env.version }}-Darwin.sh
9997 ./SCIPOptSuite-${{ env.version }}-Darwin.sh --skip-license --include-subdir
100- mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner .workspace }}/scipoptsuite
98+ mv SCIPOptSuite-${{ env.version }}-Darwin ${{ github .workspace }}/scipoptsuite
10199
102100 - name : Setup python ${{ matrix.python-version }}
103101 uses : actions/setup-python@v4
@@ -107,19 +105,19 @@ jobs:
107105 - name : Prepare python environment
108106 run : |
109107 python -m pip install --upgrade pip
110- python -m pip install ".[ test]"
108+ python -m pip install -r requirements/ test.txt
111109
112110 - name : Install PySCIPOpt
113111 run : |
114- export SCIPOPTDIR=${{ runner .workspace }}/scipoptsuite/
115- export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${{ runner .workspace }}/scipoptsuite/lib
112+ export SCIPOPTDIR=${{ github .workspace }}/scipoptsuite/
113+ export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${{ github .workspace }}/scipoptsuite/lib
116114 python -m pip install .
117115
118116# - name: Run pyscipopt tests
119117# run: |
120- # export SCIPOPTDIR=${{ runner .workspace }}/scipoptsuite/
121- # export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${{ runner .workspace }}/scipoptsuite/lib
122- # py.test
118+ # export SCIPOPTDIR=${{ github .workspace }}/scipoptsuite/
119+ # export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${{ github .workspace }}/scipoptsuite/lib
120+ # pytest
123121
124122 # ## if you need valgrind on mac, you can install it via
125123 # brew tap LouisBrunner/valgrind
0 commit comments