Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced workflow for complete e2e test #584

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/run-all-e2e-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: All e2e tests

on:
pull_request:
branches: [ main ]
types: [ labeled ]

jobs:
e2e-full:
if: ${{ github.event.label.name == 'pr/run-all-e2e-test' }}
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Install ginkgo
run: go get github.com/onsi/ginkgo/[email protected]

- name: turn off swap
run: sudo swapoff -a

- name: Set netfilter conntrack max
run: sudo sysctl -w net.netfilter.nf_conntrack_max=131072

- name: Run PR-Blocking e2e tests
run: yes | make test-e2e
khannakshat7 marked this conversation as resolved.
Show resolved Hide resolved