Skip to content

Commit

Permalink
Split module tests into separate steps
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Ross <[email protected]>
  • Loading branch information
nckrss committed Nov 13, 2024
1 parent 8536d15 commit dfa1098
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,23 @@ jobs:
runs-on: ubuntu-latest
container:
image: golang:alpine
env:
GOFLAGS: -buildvcs=false
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Test all modules
- name: Set up test environment
run: |
apk add --no-cache bash gcc g++ openssl-dev
export GOFLAGS=-buildvcs=false
apk add --no-cache bash gcc g++ openssl-dev openssl
go work init
go work use -r .
go test -v ./...
go test -v ./examples/...
go test -v ./fsim/...
go test -v ./sqlite/...
go test -v ./tpm/...
- 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/...

0 comments on commit dfa1098

Please sign in to comment.