diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 2e2607bea..5222ae8d8 100755 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -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') \ No newline at end of file + 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 ./... \ No newline at end of file