E2E #384
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: E2E | |
on: | |
# allow manual triggers | |
workflow_dispatch: {} | |
schedule: | |
# daily midnight | |
- cron: '0 0 * * *' | |
jobs: | |
test-e2e-lab: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get KUBECONFIG | |
shell: bash | |
env: | |
LAB_KUBECONFIG: ${{ secrets.LAB_KUBECONFIG }} | |
run: | | |
echo "$LAB_KUBECONFIG" > kubeconfig | |
- name: Run tests | |
run: make e2e-test | |
env: | |
KUBECONFIG: kubeconfig | |
- name: Rocket.Chat Notification | |
uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master | |
if: failure() | |
with: | |
type: ${{ job.status }} | |
job_name: 'E2E tests for lab environement' | |
icon_emoji: ':fire:' | |
url: ${{ secrets.ROCKETCHAT_WEBHOOK }} |