mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-07-06 13:44:22 +02:00
test number conditions
This commit is contained in:
parent
19c57b257c
commit
f7043f7a72
13
.github/workflows/.travis.yml
vendored
13
.github/workflows/.travis.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
TOXENV: ${{ matrix.test }}
|
TOXENV: ${{ matrix.test }}
|
||||||
RUN_INTEGRATION_TESTS: ${{ contains(fromJSON('["docs","pep8","bandit"]'), matrix.test) && '0' || matrix.test_number}}
|
RUN_INTEGRATION_TESTS: ${{ matrix.test_number}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: pip uninstall -y six
|
- run: pip uninstall -y six
|
||||||
@ -22,13 +22,20 @@ jobs:
|
|||||||
- run: pip install bandit
|
- run: pip install bandit
|
||||||
- run: pip install codecov
|
- run: pip install codecov
|
||||||
- run: pip install slugs
|
- run: pip install slugs
|
||||||
|
|
||||||
- run: ./.travis/run.sh
|
- run: ./.travis/run.sh
|
||||||
- run: codecov
|
- run: codecov
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
test: ["py27", "py34", "py35", "py36", "py37", "pep8", "bandit", "docs"]
|
test: ["py27", "py34", "py35", "py36", "py37"]
|
||||||
test_number: ["0", "1" , "2"]
|
test_number: ["0", "1" , "2"]
|
||||||
os: [ubuntu-20.04, ubuntu-22.04]
|
os: [ubuntu-20.04, ubuntu-22.04]
|
||||||
|
include:
|
||||||
|
- test_number: "0"
|
||||||
|
test: "pep8"
|
||||||
|
- test_number: "0"
|
||||||
|
test: "bandit"
|
||||||
|
- test_number: "0"
|
||||||
|
test: "docs"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user