Bump github.com/Azure/terraform-module-test-helper from 0.14.0 to 0.15.0 in /test #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Test | |
on: | |
pull_request: | |
types: [ 'opened', 'synchronize' ] | |
paths: | |
- '.github/**' | |
- '**.go' | |
- '**.tf' | |
- '.github/workflows/**' | |
- '**.md' | |
- '**/go.mod' | |
permissions: | |
contents: write | |
pull-requests: read | |
jobs: | |
acc-tests: | |
runs-on: [self-hosted, 1ES.Pool=terraform-azurerm-database] | |
environment: | |
name: acctests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: init | |
run: | | |
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make generate | |
- name: e2e test | |
run: | | |
sh scripts/ci-e2e.sh | |
- name: upload test version snapshots | |
uses: actions/upload-artifact@v3 | |
with: | |
name: TestRecord-${{ github.event.number }} | |
retention-days: 60 | |
path: | | |
examples/**/TestRecord.md.tmp | |
- name: version-upgrade test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
sh scripts/ci-version-upgrade.sh |