mirror of https://github.com/OpenKMIP/PyKMIP.git
Reformat test number conditions
This commit is contained in:
parent
5fbf13fd45
commit
19c57b257c
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
TOXENV: ${{ matrix.test }}
|
||||
RUN_INTEGRATION_TESTS: ${{ (matrix.test == 'bandit' || matrix.test == 'pep8' || matrix.test == 'docs') && '0' || matrix.test_number}}
|
||||
RUN_INTEGRATION_TESTS: ${{ contains(fromJSON('["docs","pep8","bandit"]'), matrix.test) && '0' || matrix.test_number}}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: pip uninstall -y six
|
||||
|
@ -27,8 +27,8 @@ jobs:
|
|||
- run: codecov
|
||||
strategy:
|
||||
matrix:
|
||||
test: ['py27', 'py34', 'py35', 'py36', 'py37', 'pep8', 'bandit', 'docs']
|
||||
test_number: ['0', '1' , '2']
|
||||
test: ["py27", "py34", "py35", "py36", "py37", "pep8", "bandit", "docs"]
|
||||
test_number: ["0", "1" , "2"]
|
||||
os: [ubuntu-20.04, ubuntu-22.04]
|
||||
|
||||
|
Loading…
Reference in New Issue