Add tests for export #617
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" | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
- "CODEOWNERS" | |
push: | |
paths-ignore: | |
- "**/*.md" | |
- "CODEOWNERS" | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- run: sudo apt-get update | |
- uses: ./.github/actions/purge-unnecessary-deb-packages | |
- uses: ./.github/actions/set-up-kvm-for-e2e-tests | |
- name: cache go dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-${{ hashFiles('go.sum', 'Makefile', 'versions.mk') }} | |
restore-keys: | | |
go- | |
- run: make -C test/e2e setup | |
- run: make -C test/e2e test |