@@ -17,24 +17,16 @@ jobs:
17
17
image_name : ubuntu-20.04
18
18
python_versions : ['3.8']
19
19
test_suites :
20
- misc : |
21
- venv/bin/pytest -n 3 -vvs --test-suite=all \
22
- --ignore=tests/scancode \
23
- --ignore=tests/cluecode \
24
- --ignore=tests/licensedcode
25
-
26
- scancode : |
20
+ misc_and_scancode : |
27
21
# cli tests are launched below on all OSes
28
- venv/bin/pytest -vvs --test-suite=all \
29
- --ignore=tests/scancode/test_cli.py \
30
- tests/scancode
31
-
32
- cluecode : |
33
22
venv/bin/pytest -n 3 -vvs --test-suite=all \
34
- tests/cluecode
23
+ --ignore=tests/cluecode \
24
+ --ignore=tests/licensedcode \
25
+ --ignore=tests/scancode/test_cli.py
35
26
36
- license_base : |
27
+ cluecode_license_base : |
37
28
venv/bin/pytest -n 3 -vvs --test-suite=all \
29
+ tests/cluecode \
38
30
--ignore=tests/licensedcode/test_zzzz_cache.py \
39
31
--ignore=tests/licensedcode/test_detection_datadriven_external.py \
40
32
--ignore=tests/licensedcode/test_detection_datadriven1.py \
@@ -43,20 +35,14 @@ jobs:
43
35
--ignore=tests/licensedcode/test_detection_datadriven4.py \
44
36
tests/licensedcode
45
37
46
- license_datadriven1 : |
47
- venv/bin/pytest -n 3 -vvs --test-suite=all \
48
- tests/licensedcode/test_detection_datadriven1.py
49
-
50
- license_datadriven2 : |
38
+ license_datadriven1_2 : |
51
39
venv/bin/pytest -n 3 -vvs --test-suite=all \
40
+ tests/licensedcode/test_detection_datadriven1.py \
52
41
tests/licensedcode/test_detection_datadriven2.py
53
42
54
- license_datadriven3 : |
55
- venv/bin/pytest -n 3 -vvs --test-suite=all \
56
- tests/licensedcode/test_detection_datadriven3.py
57
-
58
- license_datadriven4 : |
43
+ license_datadriven3_4 : |
59
44
venv/bin/pytest -n 3 -vvs --test-suite=all \
45
+ tests/licensedcode/test_detection_datadriven3.py \
60
46
tests/licensedcode/test_detection_datadriven4.py
61
47
62
48
license_datadriven_ext : |
@@ -290,28 +276,6 @@ jobs:
290
276
# test_suite: venv/bin/pytest -n 2 -vvs
291
277
292
278
293
- # #######################################################################
294
- # RELEASE on 3.6. Also check that we can pip install
295
- # #######################################################################
296
- #
297
- # - job: Build_release_archive_py3
298
- # pool:
299
- # vmImage: ubuntu-18.04
300
- # steps:
301
- # - checkout: self
302
- # fetchDepth: 10
303
- #
304
- # - task: UsePythonVersion@0
305
- # inputs:
306
- # versionSpec: '3.6'
307
- # displayName: 'Install Python 3.6'
308
- #
309
- # - script: ./etc/release/scancode-test-pip-install.sh
310
- # displayName: 'Test pip wheel installation'
311
- #
312
- # - script: ./etc/release/scancode-test-pip-install-editable.sh
313
- # displayName: 'Test pip editable installation'
314
-
315
279
# ###############################################################################
316
280
# Tests using a plain pip install to get the latest of all wheels
317
281
# ###############################################################################
@@ -323,44 +287,77 @@ jobs:
323
287
image_name : ubuntu-18.04
324
288
python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
325
289
test_suites :
326
- all : venv/bin/pip install --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
290
+ all : venv/bin/pip install --upgrade-strategy eager -- force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
327
291
328
292
- template : etc/ci/azure-posix.yml
329
293
parameters :
330
294
job_name : ubuntu20_cpython_latest_from_pip
331
295
image_name : ubuntu-20.04
332
296
python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
333
297
test_suites :
334
- all : venv/bin/pip install --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
298
+ all : venv/bin/pip install --upgrade-strategy eager -- force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
335
299
336
300
- template : etc/ci/azure-posix.yml
337
301
parameters :
338
- job_name : macos1015_cpython_latest_from_pip
302
+ job_name : macos1015_cpython_latest_from_pip1
339
303
image_name : macos-10.15
340
- python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
304
+ python_versions : ['3.6', '3.7']
305
+ test_suites :
306
+ all : venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
307
+
308
+ - template : etc/ci/azure-posix.yml
309
+ parameters :
310
+ job_name : macos1015_cpython_latest_from_pip2
311
+ image_name : macos-10.15
312
+ python_versions : ['3.8', '3.9', '3.10']
341
313
test_suites :
342
- all : venv/bin/pip install --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
314
+ all : venv/bin/pip install --upgrade-strategy eager -- force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
343
315
344
316
- template : etc/ci/azure-posix.yml
345
317
parameters :
346
- job_name : macos11_cpython_latest_from_pip
318
+ job_name : macos11_cpython_latest_from_pip1
347
319
image_name : macos-11
348
- python_versions : ['3.7', '3.8', '3.9', '3.10']
320
+ python_versions : ['3.7', '3.8', ]
321
+ test_suites :
322
+ all : venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
323
+
324
+ - template : etc/ci/azure-posix.yml
325
+ parameters :
326
+ job_name : macos11_cpython_latest_from_pip2
327
+ image_name : macos-11
328
+ python_versions : ['3.9', '3.10']
349
329
test_suites :
350
- all : venv/bin/pip install --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
330
+ all : venv/bin/pip install --upgrade-strategy eager -- force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
351
331
352
332
- template : etc/ci/azure-win.yml
353
333
parameters :
354
- job_name : win2019_cpython_latest_from_pip
334
+ job_name : win2019_cpython_latest_from_pip1
355
335
image_name : windows-2019
356
- python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10' ]
336
+ python_versions : ['3.6', '3.7']
357
337
test_suites :
358
- all : venv\Scripts\pip install --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
338
+ all : venv\Scripts\pip install --upgrade-strategy eager -- force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
359
339
360
340
- template : etc/ci/azure-win.yml
361
341
parameters :
362
- job_name : win2022_cpython_latest_from_pip
342
+ job_name : win2019_cpython_latest_from_pip2
343
+ image_name : windows-2019
344
+ python_versions : ['3.8', '3.9', '3.10']
345
+ test_suites :
346
+ all : venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
347
+
348
+ - template : etc/ci/azure-win.yml
349
+ parameters :
350
+ job_name : win2022_cpython_latest_from_pip1
363
351
image_name : windows-2022
364
- python_versions : ['3.7', '3.8', '3.9', '3.10' ]
352
+ python_versions : ['3.7', '3.8']
365
353
test_suites :
366
- all : venv\Scripts\pip install --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
354
+ all : venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
355
+
356
+ - template : etc/ci/azure-win.yml
357
+ parameters :
358
+ job_name : win2022_cpython_latest_from_pip2
359
+ image_name : windows-2022
360
+ python_versions : ['3.9', '3.10']
361
+ test_suites :
362
+ all : venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
363
+
0 commit comments