95
95
run : |
96
96
python -m pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37"
97
97
pip install -r ./requirements.txt
98
- pip install --user - r ./test-requirements.txt || true
98
+ pip install -r ./test-requirements.txt || true
99
99
- name : Pre-build
100
100
id : bootstrap
101
101
run : |
@@ -153,7 +153,7 @@ jobs:
153
153
- name : Install dependencies for ${{ matrix.python-version }}
154
154
run : |
155
155
pip install -r ./requirements.txt
156
- pip install --user - r ./test-requirements.txt || true
156
+ pip install -r ./test-requirements.txt || true
157
157
- name : Pre-Clean
158
158
id : clean
159
159
run : make -j1 -f Makefile clean || true ;
@@ -201,16 +201,16 @@ jobs:
201
201
run : |
202
202
pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37"
203
203
pip install -r ./requirements.txt
204
- pip install --user - r ./test-requirements.txt || true
204
+ pip install -r ./test-requirements.txt || true
205
205
- name : Install code-climate tools for ${{ matrix.python-version }}
206
- if : ${{ runner.os }} != "Linux"
206
+ if : runner.os != "Linux"
207
207
shell : bash
208
- run : if [ $OS == macos-latest ] ; then ./tests/fetch_cc-test-reporter || true ; fi ;
208
+ run : if [ " $OS" == " macos-latest" ] ; then ./tests/fetch_cc-test-reporter || true ; fi ;
209
209
- name : Install deepsource tools for ${{ matrix.python-version }}
210
- if : ${{ runner.os }} == "Linux"
210
+ if : runner.os == "Linux"
211
211
shell : bash
212
212
run : |
213
- if [ $OS == ubuntu-latest ] ; then (curl https://deepsource.io/cli | sh) || true ; else echo "SKIP deepsource" ; fi ;
213
+ if [ " $OS" == " ubuntu-latest" ] ; then (curl https://deepsource.io/cli | sh) || true ; else echo "SKIP deepsource" ; fi ;
214
214
- name : Pre-Clean
215
215
id : clean
216
216
run : make -j1 -f Makefile clean || true ;
@@ -237,15 +237,15 @@ jobs:
237
237
path : ./test-reports/
238
238
if-no-files-found : ignore
239
239
- name : code-climate for ${{ matrix.python-version }}
240
- if : ${{ runner.os }} != "Linux"
240
+ if : $runner.os != "Linux"
241
241
shell : bash
242
242
run : |
243
- if [ $OS == macos-latest ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
243
+ if [ " $OS" == " macos-latest" ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
244
244
- name : deepsource for ${{ matrix.python-version }}
245
- if : ${{ runner.os }} == "Linux"
245
+ if : runner.os == "Linux"
246
246
shell : bash
247
247
run : |
248
- if [ $OS == ubuntu-latest ] ; then ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource" ; fi ;
248
+ if [ " $OS" == " ubuntu-latest" ] ; then ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource" ; fi ;
249
249
- name : Post-Clean
250
250
id : post
251
251
run : make -j1 -f Makefile clean || true ;
@@ -280,24 +280,24 @@ jobs:
280
280
run : |
281
281
pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37" ;
282
282
pip install -r ./requirements.txt ;
283
- pip install --user - r ./test-requirements.txt || true ;
283
+ pip install -r ./test-requirements.txt || true ;
284
284
- name : Install code-climate tools for ${{ matrix.python-version }}
285
- if : ${{ runner.os }} == "Linux"
285
+ if : runner.os == "Linux"
286
286
shell : bash
287
- run : if [ $OS == ubuntu-latest ] ; then ./tests/fetch_cc-test-reporter || true ; fi ;
287
+ run : if [ " $OS" == " ubuntu-latest" ] ; then ./tests/fetch_cc-test-reporter || true ; fi ;
288
288
- name : Install deepsource tools for ${{ matrix.python-version }}
289
- if : ${{ runner.os }} == "Linux"
289
+ if : runner.os == "Linux"
290
290
shell : bash
291
291
run : |
292
- if [ $OS == ubuntu-latest ] ; then (curl https://deepsource.io/cli | sh) || true ; else echo "SKIP deepsource" ; fi ;
292
+ if [ " $OS" == " ubuntu-latest" ] ; then (curl https://deepsource.io/cli | sh) || true ; else echo "SKIP deepsource" ; fi ;
293
293
- name : Pre-Clean
294
294
id : clean
295
295
run : make -j1 -f Makefile clean || true ;
296
296
- name : Generate Coverage for py3.9 on ${{ matrix.os }}
297
- if : ${{ runner.python-version }} == "3.9"
297
+ if : runner.python-version == "3.9"
298
298
run : make -f Makefile test ;
299
299
- name : Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
300
- if : ${{ runner.python-version }} != "3.9"
300
+ if : runner.python-version != "3.9"
301
301
run : make -f Makefile test-pytest ;
302
302
- name : Upload Python ${{ matrix.python-version }} coverage to Codecov
303
303
uses : codecov/codecov-action@v4
@@ -316,15 +316,15 @@ jobs:
316
316
path : ./test-reports/
317
317
if-no-files-found : ignore
318
318
- name : code-climate for ${{ matrix.python-version }}
319
- if : ${{ runner.os }} == "Linux"
319
+ if : runner.os == "Linux"
320
320
shell : bash
321
321
run : |
322
- if [ $OS == ubuntu-latest ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
322
+ if [ " $OS" == " ubuntu-latest" ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
323
323
- name : deepsource for ${{ matrix.python-version }}
324
- if : ${{ runner.os }} == "Linux"
324
+ if : runner.os == "Linux"
325
325
shell : bash
326
326
run : |
327
- if [ $OS == ubuntu-latest ] ; then ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource" ; fi ;
327
+ if [ " $OS" == " ubuntu-latest" ] ; then ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource" ; fi ;
328
328
- name : Post-Clean
329
329
id : post
330
330
run : make -j1 -f Makefile clean || true ;
@@ -350,7 +350,7 @@ jobs:
350
350
run : |
351
351
pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37" ;
352
352
pip install -r ./requirements.txt ;
353
- pip install --user - r ./test-requirements.txt || true ;
353
+ pip install -r ./test-requirements.txt || true ;
354
354
- name : Pre-Clean
355
355
id : clean
356
356
run : make -j1 -f Makefile clean || true ;
@@ -394,7 +394,7 @@ jobs:
394
394
run : |
395
395
pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37" ;
396
396
pip install -r ./requirements.txt ;
397
- pip install --user - r ./test-requirements.txt || true ;
397
+ pip install -r ./test-requirements.txt || true ;
398
398
- name : Install code-climate tools for ${{ matrix.python-version }}
399
399
if : ${{ runner.os }} != "Linux"
400
400
run : if [ $OS == macos-latest ] ; then ./tests/fetch_cc-test-reporter || true ; fi ;
@@ -430,9 +430,9 @@ jobs:
430
430
path : ./test-reports/
431
431
if-no-files-found : ignore
432
432
- name : code-climate for ${{ matrix.python-version }}
433
- if : ${{ runner.os }} != "Linux"
433
+ if : runner.os != "Linux"
434
434
run : |
435
- if [ $OS == macos-latest ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
435
+ if [ " $OS" == " macos-latest" ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
436
436
- name : Post-purge
437
437
id : post-uninstall
438
438
run : make -j1 -f Makefile purge || true ;
@@ -463,7 +463,7 @@ jobs:
463
463
run : |
464
464
pip install --upgrade "pip>=21.0" "setuptools>=45.0" "wheel>=0.37" "tox>=3.0";
465
465
pip install -r ./requirements.txt ;
466
- pip install --user - r ./test-requirements.txt || true ;
466
+ pip install -r ./test-requirements.txt || true ;
467
467
- name : Pre-Clean
468
468
id : clean
469
469
run : make -j1 -f Makefile clean || true ;
0 commit comments