Add v4 sub-folder so this module could run with AzureRM provider both v3 and v4.
#574
Workflow file for this run
This file contains hidden or 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' | |
| jobs: | |
| acc-tests: | |
| runs-on: [self-hosted, 1ES.Pool=terraform-azurerm-aks] | |
| 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 |