From 0fe5aa96e0333db996677082fadcfd186bea4a55 Mon Sep 17 00:00:00 2001 From: Evan Gordon Date: Thu, 27 Jun 2024 20:02:48 +0000 Subject: [PATCH] Add spec test coverage github action. --- .github/workflows/go_build.yaml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go_build.yaml b/.github/workflows/go_build.yaml index a281c3a..5d5e314 100644 --- a/.github/workflows/go_build.yaml +++ b/.github/workflows/go_build.yaml @@ -41,4 +41,31 @@ jobs: - name: Test run: | - go test ./... \ No newline at end of file + go test ./... + + go_spec_test_coverage: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + steps: + + - name: Set up Go 1.22 + uses: actions/setup-go@v2 + with: + go-version: 1.22 + id: go + + - name: Check out code + uses: actions/checkout@v3 + + - name: Get dependencies + run: | + go mod download + - name: Build + run: | + go build ./... + + - name: Spec Test Coverage + run: | + go run tests/spectests/cmd/analyzer/analyzer.go \ No newline at end of file