3939 env :
4040 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
4141 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
42- run : python -m pytest tests/unit/ -x -m online -c /dev/null -p no:warnings -n 0 -v
42+ run : >-
43+ python -m pytest tests/unit/ -x
44+ -m online -c /dev/null -p no:warnings
45+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
4346 offline_unit_tests :
4447 runs-on : ubuntu-latest
4548 timeout-minutes : 40
6164 env :
6265 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
6366 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
64- run : python -m pytest tests/unit/ -x -m offline -c /dev/null -p no:warnings -n 0 -v
67+ run : >-
68+ python -m pytest tests/unit/ -x
69+ -m offline -c /dev/null -p no:warnings
70+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
6571 online_functional_tests :
6672 runs-on : ubuntu-latest
6773 timeout-minutes : 40
8389 env :
8490 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
8591 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
86- run : python -m pytest tests/functional/ -x -m online -c /dev/null -p no:warnings -n 0 -v
92+ run : >-
93+ python -m pytest tests/functional/ -x
94+ -m online -m "not eco" -c /dev/null -p no:warnings
95+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
8796 offline_functional_tests :
8897 runs-on : ubuntu-latest
8998 timeout-minutes : 40
@@ -105,7 +114,10 @@ jobs:
105114 env :
106115 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
107116 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
108- run : python -m pytest tests/functional/ -x -m offline -c /dev/null -p no:warnings -n 0 -v
117+ run : >-
118+ python -m pytest tests/functional/ -x
119+ -m offline -c /dev/null -p no:warnings
120+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
109121 other_unit_tests :
110122 runs-on : ubuntu-latest
111123 timeout-minutes : 40
@@ -127,7 +139,11 @@ jobs:
127139 env :
128140 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
129141 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
130- run : python -m pytest tests/unit/ -x -m 'not offline' -m 'not online' -m 'not scenario' -c /dev/null -p no:warnings -n 0 -v
142+ run : >-
143+ python -m pytest tests/unit/ -x
144+ -m 'not offline' -m 'not online'
145+ -m 'not scenario' -c /dev/null
146+ -p no:warnings -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
131147 other_functional_tests :
132148 runs-on : ubuntu-latest
133149 timeout-minutes : 40
@@ -149,4 +165,8 @@ jobs:
149165 env :
150166 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
151167 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
152- run : python -m pytest tests/functional/ -x -m 'not offline' -m 'not online' -m 'not scenario' -c /dev/null -p no:warnings -n 0 -v
168+ run : >-
169+ python -m pytest tests/functional/ -x
170+ -m 'not offline' -m 'not online'
171+ -m 'not scenario' -c /dev/null
172+ -p no:warnings -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
0 commit comments