[e2e] Add test cases for pre-created VPC #3860
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: Makefile CI | |
on: | |
push: | |
branches: | |
- main | |
- 'v[0-9].[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- main | |
- 'v[0-9].[0-9]+.[0-9]+' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.23.1 | |
- name: Run golangci-lint | |
run: make golangci | |
- name: Run code-generator | |
run: make generated | |
- name: Run build | |
run: make build | |
- name: Run test | |
run: make test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
file: ./.coverage/coverage-unit.out | |
flags: unit-tests | |
name: codecov-unit-test |