[release-0.2] Fix: e2e tests #353
Workflow file for this run
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 tests | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 1 * * *' | |
workflow_dispatch: | |
jobs: | |
e2e-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.x | |
- name: Build e2e image | |
run: make e2e-image | |
- uses: actions/[email protected] | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }} | |
- uses: engineerd/[email protected] | |
with: | |
version: "v0.16.0" | |
skipClusterCreation: "true" | |
- name: Run E2E tests | |
run: make test-e2e | |
- name: Archive artifacts | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: e2e-artifacts | |
path: _artifacts | |
if-no-files-found: ignore |