move integration tests to prexisting test workflow

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2024-03-12 12:20:24 -06:00
parent 71480af106
commit 8f412af64d
2 changed files with 21 additions and 24 deletions

View file

@ -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

View file

@ -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