proper test wiring for example test in github actions

This commit is contained in:
Ben Kraft
2021-04-02 18:04:05 -07:00
parent efc6549d7e
commit 9c8cf02181
6 changed files with 51 additions and 33 deletions
+2 -5
View File
@@ -25,11 +25,8 @@ jobs:
uses: actions/checkout@v2
- name: Run tests
run: |
go test -v ./...
- name: Run example
env:
# Needed for the example-test to run.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go run ./example/cmd/example/main.go csilvers
go test -v ./...