Skip to content

Main Test

Main Test #4

Workflow file for this run

# Main Test
name: Main Test
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
schedule:
- cron: '12 19 * * 1' # run Mondays at 12:12pm pacific
jobs:
taskcat:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: install
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@v4
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 }}
- name: clean logs
if: always()
run: make clean-logs-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 }}