Weekly compute-engine test run #84
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
#This workflow will trigger every week, running terraform compute-engine tests | |
name: Weekly compute-engine test run | |
on: | |
schedule: | |
# At 09:00:00 - UTC, every week on Wednesday. | |
- cron: '0 09 * * WED' | |
jobs: | |
test: | |
env: | |
IONOS_USERNAME: ${{ secrets.IONOS_VDC_USER_GO_V6 }} | |
IONOS_PASSWORD: ${{ secrets.IONOS_VDC_PASSWORD_GO_V6 }} | |
TF_ACC: true | |
TF_LOG: debug | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: master | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run tests with compute tag | |
run: go test ./ionoscloud -v -failfast -timeout 240m -tags compute |