mirror of https://git.rancher.io/charts
Move hull tests to a separate job
parent
ab4be07ab3
commit
4c854b309c
|
@ -31,9 +31,6 @@ jobs:
|
|||
- name: Validate
|
||||
run: sudo make validate
|
||||
|
||||
- name: Run Hull tests
|
||||
run: cd tests && go test -v ./...
|
||||
|
||||
check-images:
|
||||
name: Check Container Images
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -66,4 +63,19 @@ jobs:
|
|||
|
||||
- name: Check RC images and charts
|
||||
run: make check-rc
|
||||
if: startsWith(github.ref, 'refs/heads/release-v')
|
||||
if: startsWith(github.ref, 'refs/heads/release-v')
|
||||
|
||||
hull-tests:
|
||||
name: Run Hull tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout base branch
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout PR
|
||||
run: gh pr checkout ${{ github.event.pull_request.number }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run Hull tests
|
||||
run: cd tests && go test -v ./...
|
Loading…
Reference in New Issue