-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from kubernetes-sigs/pr-post-workflow
🏃 Add a workflow for running the e2e tests
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Pull Request E2E | ||
on: | ||
workflow_run: | ||
workflows: ["Pull Request Validation"] | ||
types: [completed] | ||
jobs: | ||
e2e-smoketest: | ||
name: E2E Smoketest | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2.3.4 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' # The Go version to download (if necessary) and use. | ||
- name: download e2e artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: e2e-artifacts | ||
path: /tmp/e2e-artifacts | ||
- name: Display structure of downloaded files | ||
run: ls -R | ||
working-directory: /tmp/e2e-artifacts |