Run basic and ignored unit tests at the same time (#5814)
This commit is contained in:
parent
4078e244d3
commit
6b2c90c6ac
|
@ -205,18 +205,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
short-length: 7
|
short-length: 7
|
||||||
|
|
||||||
# Run unit and basic acceptance tests, only showing command output if the test fails.
|
# Run unit, basic acceptance tests, and ignored tests, only showing command output if the test fails.
|
||||||
#
|
#
|
||||||
# If some tests hang, add "-- --nocapture" for just that test, or for all the tests.
|
# If some tests hang, add "-- --nocapture" for just that test, or for all the tests.
|
||||||
- name: Run basic zebrad tests
|
- name: Run zebrad tests
|
||||||
run: |
|
run: |
|
||||||
docker pull ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }}
|
docker pull ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }}
|
||||||
docker run --name zebrad-tests --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests" --workspace
|
docker run --name zebrad-tests --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests" --workspace -- --include-ignored
|
||||||
|
|
||||||
# Run ignored by default acceptance tests, only showing command output if the test fails.
|
|
||||||
- name: Run ignored zebrad tests
|
|
||||||
run: |
|
|
||||||
docker run --name zebrad-tests-ignored --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests" --workspace -- --ignored --nocapture
|
|
||||||
|
|
||||||
# zebrad tests without cached state with `getblocktemplate-rpcs` feature
|
# zebrad tests without cached state with `getblocktemplate-rpcs` feature
|
||||||
#
|
#
|
||||||
|
@ -232,15 +227,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
short-length: 7
|
short-length: 7
|
||||||
|
|
||||||
- name: Run basic zebrad tests
|
- name: Run zebrad tests
|
||||||
run: |
|
run: |
|
||||||
docker pull ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }}
|
docker pull ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }}
|
||||||
docker run --name zebrad-tests --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests getblocktemplate-rpcs" --workspace
|
docker run --name zebrad-tests --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests getblocktemplate-rpcs" --workspace -- --include-ignored
|
||||||
|
|
||||||
- name: Run ignored zebrad tests
|
|
||||||
run: |
|
|
||||||
docker pull ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }}
|
|
||||||
docker run --name zebrad-tests-ignored --tty ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA_SHORT }} cargo test --locked --release --features "lightwalletd-grpc-tests getblocktemplate-rpcs" --workspace -- --ignored --nocapture
|
|
||||||
|
|
||||||
# Run state tests with fake activation heights.
|
# Run state tests with fake activation heights.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue