Skip to content

Commit

Permalink
Run e2e on labels
Browse files Browse the repository at this point in the history
  • Loading branch information
anusha94 committed Jun 7, 2022
1 parent b2a2c75 commit 6872218
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/e2e-all.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: e2e-suite

on:
pull_request_review:
types: ['submitted']
pull_request:
branches: [ main ]
types:
- labeled

jobs:
e2e-all-tests:
runs-on: ubuntu-latest
with:
one_of: major,minor,patch
repo_token: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -25,11 +30,5 @@ jobs:
- name: Set netfilter conntrack max
run: sudo sysctl -w net.netfilter.nf_conntrack_max=131072

- id: 'reviews'
uses: 'jrylan/github-action-reviews-counter@main'
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
- # Conditionally run the next step
if: 'steps.reviews.outputs.approved >= 1 && steps.reviews.outputs.changes_requested == 0'
- name: Run all e2e tests
run: yes | make test-e2e
- name: Run all e2e tests
run: yes | make test-e2e

0 comments on commit 6872218

Please sign in to comment.