Skip to content

Commit

Permalink
github: setup environment for secret
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Mar 24, 2024
1 parent f1bdf31 commit b870ae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: Build
run: go build -v ./...
- name: Run tests with coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
Expand Down

0 comments on commit b870ae1

Please sign in to comment.