-
Notifications
You must be signed in to change notification settings - Fork 277
51 lines (40 loc) · 1.23 KB
/
acceptance-test-schedule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.22.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.22.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 }}