Spit different vault test into distinct jobs although run sequentally
@@ -326,13 +326,27 @@ jobs:
with:
name: hashicorp-key-vault-dist
path: /home/runner/work/tessera/tessera/key-vault/hashicorp-key-vault/build/distributions/
- - name: Download and run hashicorp and execute gradle
+ - name: Run hashicorp tests
run: |
wget https://releases.hashicorp.com/vault/1.2.2/vault_1.2.2_linux_amd64.zip -O /tmp/vault_1.2.2_linux_amd64.zip
mkdir -p vault/bin && pushd $_
unzip /tmp/vault_1.2.2_linux_amd64.zip
export PATH=$PATH:$PWD && popd
- ./gradlew :tests:acceptance-test:clean :tests:acceptance-test:test --fail-fast --tests RunHashicorpIT --tests AwsKeyVaultIT --tests RunAzureIT --info
+ ./gradlew :tests:acceptance-test:test --fail-fast --tests RunHashicorpIT --info
+ - name: Run AWS tests
+ run: |
+ wget https://releases.hashicorp.com/vault/1.2.2/vault_1.2.2_linux_amd64.zip -O /tmp/vault_1.2.2_linux_amd64.zip
+ mkdir -p vault/bin && pushd $_
+ unzip /tmp/vault_1.2.2_linux_amd64.zip
+ export PATH=$PATH:$PWD && popd
+ ./gradlew :tests:acceptance-test:test --fail-fast --tests AwsKeyVaultIT --info
+ - name: Run azure tests
+ run: |
+ wget https://releases.hashicorp.com/vault/1.2.2/vault_1.2.2_linux_amd64.zip -O /tmp/vault_1.2.2_linux_amd64.zip
+ mkdir -p vault/bin && pushd $_
+ unzip /tmp/vault_1.2.2_linux_amd64.zip
+ export PATH=$PATH:$PWD && popd
+ ./gradlew :tests:acceptance-test:test --fail-fast --tests RunAzureIT --info
- name: Upload junit reports
uses: actions/upload-artifact@v1
if: always()
