Lines Matching +full:tox +full:- +full:env
1 # This workflow will install dependencies and run tests/linters with a matrix of tox environments.
8 - master
10 - '**'
13 - '**'
18 runs-on: ubuntu-latest
20 fail-fast: false
21 max-parallel: 4
23 tox-env: [py37, py38, py39, py310, pypy37, pypy38, pypy39, pygments]
25 - tox-env: py37
26 python-version: '3.7'
27 - tox-env: py38
28 python-version: '3.8'
29 - tox-env: py39
30 python-version: '3.9'
31 - tox-env: py310
32 python-version: '3.10'
33 - tox-env: pypy37
34 python-version: pypy-3.7
35 - tox-env: pypy38
36 python-version: pypy-3.8
37 - tox-env: pypy39
38 python-version: pypy-3.9
39 - tox-env: pygments
40 python-version: '3.7'
42 env:
43 TOXENV: ${{ matrix.tox-env }}
46 - uses: actions/checkout@v2
47 - name: Setup Python ${{ matrix.python-version }}
48 uses: actions/setup-python@v3
50 python-version: ${{ matrix.python-version }}
51 - name: Install dependencies
53 sudo apt-get install libtidy-dev
54 python -m pip install --upgrade pip tox coverage codecov
55 - name: Run tox
56 run: python -m tox
57 - name: Upload Results
59 uses: codecov/codecov-action@v1
63 name: ${{ matrix.tox-env }}
67 runs-on: ubuntu-latest
69 fail-fast: false
70 max-parallel: 4
72 tox-env: [flake8, pep517check, checkspelling]
74 env:
75 TOXENV: ${{ matrix.tox-env }}
78 - uses: actions/checkout@v2
79 - name: Setup Python
80 uses: actions/setup-python@v2
82 python-version: 3.7
83 - name: Install dependencies
85 python -m pip install --upgrade pip tox
86 if [[ "$TOXENV" == 'checkspelling' ]]; then sudo apt-get install aspell aspell-en; fi
87 - name: Run tox
88 run: python -m tox