Acceptance Test Schedule #389
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: Acceptance Test Schedule | |
# Runs acceptance tests on a cron schedule | |
on: | |
schedule: | |
- cron: 0 14 * * MON-FRI # Every weekday at 14:00 UTC (10a Eastern) | |
concurrency: acceptance_tests | |
jobs: | |
acceptance: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.x | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: make testacc | |
run: make testacc | |
env: | |
TESTARGS: -parallel 20 | |
DIGITALOCEAN_TOKEN: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }} | |
SPACES_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }} | |
SPACES_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }} | |
sweep: | |
if: ${{ always() }} | |
needs: acceptance | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.x | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: make sweep | |
run: make sweep | |
env: | |
DIGITALOCEAN_TOKEN: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }} | |
SPACES_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }} | |
SPACES_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }} |