move integration tests to prexisting test workflow
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
71480af106
commit
8f412af64d
2 changed files with 21 additions and 24 deletions
22
.github/workflows/go.yml
vendored
22
.github/workflows/go.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
23
.github/workflows/integration-tests.yml
vendored
23
.github/workflows/integration-tests.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue