split integration tests

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2024-03-06 13:53:35 -07:00
parent 617a9f34eb
commit b9739140b4
2 changed files with 28 additions and 1 deletions

View file

@ -1,4 +1,4 @@
name: Tests
name: Unit Tests
on: [push, pull_request]
permissions:

27
.github/workflows/integration-tests.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Integration Tests
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
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