-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_tox_tests.sh
executable file
·32 lines (31 loc) · 1.68 KB
/
run_tox_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
#
# Run tests for each supported python/pytest version combo.
#
# When attempting to run the entire set of tox environments in parallel, some issues
# arise due to the not-so-isolatedness of poetry dependency installation. To address
# those issues, this script runs each version of pytest in separate batches, so that
# each python version only runs a single suite at a time.
#
tox "$@" -p 5 -e py38-pytest82,py39-pytest82,py310-pytest82,py311-pytest82,py312-pytest82
tox "$@" -p 5 -e py38-pytest81,py39-pytest81,py310-pytest81,py311-pytest81,py312-pytest81
tox "$@" -p 5 -e py38-pytest80,py39-pytest80,py310-pytest80,py311-pytest80,py312-pytest80
tox "$@" -p 5 -e py38-pytest74,py39-pytest74,py310-pytest74,py311-pytest74,py312-pytest74
tox "$@" -p 5 -e py38-pytest73,py39-pytest73,py310-pytest73,py311-pytest73,py312-pytest73
tox "$@" -p 4 -e py38-pytest72,py39-pytest72,py310-pytest72,py311-pytest72
tox "$@" -p 4 -e py38-pytest71,py39-pytest71,py310-pytest71,py311-pytest71
tox "$@" -p 4 -e py38-pytest70,py39-pytest70,py310-pytest70,py311-pytest70
tox "$@" -p 4 -e py38-pytest62,py39-pytest62,py310-pytest62,py311-pytest62
tox "$@" -p 2 -e py38-pytest61,py39-pytest61
tox "$@" -p 2 -e py38-pytest60,py39-pytest60
tox "$@" -p 2 -e py38-pytest54,py39-pytest54
tox "$@" -p 2 -e py38-pytest53,py39-pytest53
tox "$@" -p 2 -e py38-pytest52,py39-pytest52
tox "$@" -p 2 -e py38-pytest51,py39-pytest51
tox "$@" -p 2 -e py38-pytest50,py39-pytest50
tox "$@" -p 2 -e py38-pytest46,py39-pytest46
tox "$@" -p 2 -e py38-pytest45,py39-pytest45
tox "$@" -p 2 -e py38-pytest44,py39-pytest44
tox "$@" -p 2 -e py38-pytest40,py39-pytest40
tox "$@" -p 2 -e py38-pytest39,py39-pytest39
tox "$@" -p 2 -e py38-pytest36,py39-pytest36