Weekly E2E Test Check #43
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: Weekly E2E Test Check | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
permissions: | |
contents: write | |
jobs: | |
full-e2e-check: | |
runs-on: [self-hosted, 1ES.Pool=terraform-azurerm-database] | |
environment: | |
name: crontests | |
steps: | |
- name: checkout | |
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 | |
continue-on-error: true | |
run: | | |
sh scripts/ci-e2e.sh | |
- name: Update | |
run: | | |
sh scripts/ci-update-test-record.sh | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
message: 'Update TestVersionSnapshot' | |
branch: ${{ github.event.repository.default_branch }} |