diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 10d1dd94..f6c6ff39 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -172,9 +172,14 @@ jobs: VENOM_VAR_email: ${{ secrets.E2E_AZURE_SA_EMAIL }} VENOM_VAR_token: ${{ secrets.E2E_AZURE_SA_TOKEN }} run: | + # Create resource group and storage account az group create --name ${{ env.VENOM_VAR_project }} --location ${{ env.VENOM_VAR_region }} az storage account create --name ${{ env.VENOM_VAR_azureStorageAccount }} --resource-group ${{ env.VENOM_VAR_project }} --location ${{ env.VENOM_VAR_region }} --sku Standard_LRS --kind StorageV2 + + # Export access key that is required to authenticate to Terraform azurerm backend export ARM_ACCESS_KEY=$(az storage account keys list --resource-group ${{ env.VENOM_VAR_project }} --account-name ${{ env.VENOM_VAR_azureStorageAccount }} --query '[0].value' -o tsv) + + # Run tests venom run -vv --html-report --format=json --output-dir ${{ env.TESTOUT_PATH }} test/plural - name: Upload artifacts if: always()