diff --git a/.github/workflows/tests-and-linters.yml b/.github/workflows/tests-and-linters.yml index dc006ea6fe..b7d0a13316 100644 --- a/.github/workflows/tests-and-linters.yml +++ b/.github/workflows/tests-and-linters.yml @@ -31,9 +31,8 @@ jobs: file: ./coverage.txt token: ${{ secrets.CODECOV_TOKEN }} - e2e-tests: + e2e-basic: runs-on: ubuntu-latest - needs: unit-tests steps: - uses: actions/checkout@v4 @@ -51,10 +50,26 @@ jobs: - name: E2E basic test run: go run mage.go -v TestE2EBasic + e2e-nat: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.21.x' + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: E2E NAT test run: go run mage.go -v TestE2ENAT verify-build: - needs: [unit-tests, e2e-tests] + needs: [unit-tests, e2e-basic, e2e-nat] uses: ./.github/workflows/build-packages.yml secrets: inherit