-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (38 loc) · 1.37 KB
/
scheduled.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
# run all tests once weekly Monday 11am
name: All Features and Regions Tests
on:
schedule:
- cron: '0 18 * * 1' # run Mondays at 11am pacific
jobs:
taskcat:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
ref: 'develop'
- name: install
run: make update-common
- name: build
run: make build
- name: test features
run: make test-all
env:
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: taskcat_outputs_features
path: test/taskcat_outputs/
- name: clean snapshots
if: always()
run: make clean-snapshots-tcat-all-regions
env:
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }}
- name: clean logs
if: always()
run: make clean-logs-tcat-all-regions
env:
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }}