Adding test number conditions

This commit is contained in:
justin-h-loi 2023-08-01 16:57:38 -04:00 committed by arp102
parent 8f681ba457
commit 5fbf13fd45

View File

@ -10,8 +10,8 @@ jobs:
build:
runs-on: ${{ matrix.os }}
env:
TOXENV: ${{ matrix.python-version }}
RUN_INTEGRATION_TESTS: ${{ matrix.test_number }}
TOXENV: ${{ matrix.test }}
RUN_INTEGRATION_TESTS: ${{ (matrix.test == 'bandit' || matrix.test == 'pep8' || matrix.test == 'docs') && '0' || matrix.test_number}}
steps:
- uses: actions/checkout@v2
- run: pip uninstall -y six
@ -27,7 +27,7 @@ jobs:
- run: codecov
strategy:
matrix:
python-version: ['py27', 'py34', 'py35', 'py36', 'py37', 'pep8', 'bandit']
test: ['py27', 'py34', 'py35', 'py36', 'py37', 'pep8', 'bandit', 'docs']
test_number: ['0', '1' , '2']
os: [ubuntu-20.04, ubuntu-22.04]