mirror of https://github.com/nucypher/nucypher.git
Show tests timings in CircleCI
parent
66aaf328c4
commit
e37fcd832f
|
@ -301,7 +301,7 @@ jobs:
|
|||
- run:
|
||||
name: Blockchain Agent Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/agents/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/agents/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
actors:
|
||||
|
@ -312,7 +312,7 @@ jobs:
|
|||
- run:
|
||||
name: Blockchain Actor Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/actors/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/actors/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
deployers:
|
||||
|
@ -323,7 +323,7 @@ jobs:
|
|||
- run:
|
||||
name: Contract Deployer Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/deployers/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/entities/deployers/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
contracts:
|
||||
|
@ -334,7 +334,7 @@ jobs:
|
|||
- run:
|
||||
name: Ethereum Contract Unit Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/contracts/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/blockchain/eth/contracts/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
basics:
|
||||
|
@ -345,7 +345,7 @@ jobs:
|
|||
- run:
|
||||
name: Tests for Blockhain interfaces, Crypto functions, Node Configuration and Keystore
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/config/**/test_*.py" "tests/crypto/**/test_*.py" "tests/keystore/**/test_*.py" "tests/blockchain/eth/interfaces/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/config/**/test_*.py" "tests/crypto/**/test_*.py" "tests/keystore/**/test_*.py" "tests/blockchain/eth/interfaces/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
network:
|
||||
|
@ -355,7 +355,7 @@ jobs:
|
|||
- run:
|
||||
name: Network Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/network/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/network/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
character:
|
||||
|
@ -366,7 +366,7 @@ jobs:
|
|||
- run:
|
||||
name: Character Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/characters/**/test_*.py" "tests/learning/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/characters/**/test_*.py" "tests/learning/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
cli:
|
||||
|
@ -377,7 +377,7 @@ jobs:
|
|||
- run:
|
||||
name: Nucypher CLI Tests
|
||||
command: |
|
||||
pipenv run pytest --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/cli/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
pipenv run pytest --durations=0 --cov=nucypher --cov-report xml:reports/coverage.xml $(circleci tests glob "tests/cli/**/test_*.py" | circleci tests split --split-by=timings)
|
||||
- capture_test_results
|
||||
|
||||
tests_ok:
|
||||
|
|
Loading…
Reference in New Issue