Files
go-openai/.github/workflows/integration-tests.yml
Alex Baranov c69c3bb1d2 integration tests: pass openai secret (#770)
* pass openai secret

* only run in master branch
2024-06-13 19:21:25 +04:00

22 lines
449 B
YAML

name: Integration tests
on:
push:
branches:
- master
jobs:
integration_tests:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run integration tests
env:
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
run: go test -v -tags=integration ./api_integration_test.go