Skip to content

Added e2e test for CoCo-AS using SNP evidence #4

Added e2e test for CoCo-AS using SNP evidence

Added e2e test for CoCo-AS using SNP evidence #4

Workflow file for this run

name: CoCo-AS e2e
on:
pull_request:
branches: [ "main" ]
# Self-hosted runners do not set -o pipefail otherwise
defaults:
run:
shell: bash
jobs:
e2e-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Set up rust build cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
target/
key: rust-${{ hashFiles('./Cargo.lock') }}
- name: Install dependencies
working-directory: attestation-service/tests/e2e
run: |
sudo -E make install-dependencies
sudo -E go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
- name: Run e2e test (gRPC)
working-directory: attestation-service/tests/e2e
run: sudo -E make e2e-grpc-test
- name: Run e2e test (RESTful)
working-directory: attestation-service/tests/e2e
run: sudo -E make e2e-restful-test