Skip to content

Support shell util variants and split module tests into individual steps #108

Support shell util variants and split module tests into individual steps

Support shell util variants and split module tests into individual steps #108

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
go:
name: Test Go packages
runs-on: ubuntu-latest
container:
image: golang:alpine
env:
GOFLAGS: -buildvcs=false
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up test environment
run: |
apk add --no-cache bash gcc g++ openssl-dev openssl
go work init
go work use -r .
- name: Test base library
run: go test -v ./...
- name: Test FSIM
run: go test -v ./fsim/...
- name: Test sqlite
run: go test -v ./sqlite/...
- name: Test TPM
run: go test -v ./tpm/...
- name: Test examples
run: go test -v ./examples/...