diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e623bce4f..fc2bcd2dd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: Unit Tests +name: Unit and Integration Tests on: [push, pull_request] permissions: @@ -37,3 +37,23 @@ jobs: - name: Build run: go build -v ./cmd/gh + + integration-tests: + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ github.token }} + + steps: + - name: Set up Go 1.21 + uses: actions/setup-go@v5 + with: + go-version: 1.21 + + - name: Check out code + uses: actions/checkout@v4 + + - name: Build executable + run: make bin/gh + + - name: Run attestation command integration Tests + run: ./test/integration/attestation-cmd/download-and-verify-package-attestation.sh diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml deleted file mode 100644 index b93010d32..000000000 --- a/.github/workflows/integration-tests.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Integration Tests -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ github.token }} - - steps: - - name: Set up Go 1.21 - uses: actions/setup-go@v5 - with: - go-version: 1.21 - - - name: Check out code - uses: actions/checkout@v4 - - - name: Build executable - run: make bin/gh - - - name: Run attestation command integration Tests - run: ./test/integration/attestation-cmd/download-and-verify-package-attestation.sh