-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 1.02 KB
/
main.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
# Main Test
name: Main Test
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
taskcat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: update-common
run: make update-common
- name: build
run: make build
- name: test
run: make test-main
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
path: test/main-test/taskcat_outputs/
- name: clean snapshots
if: always()
run: make clean-snapshots-tcat
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 }}