Skip to content

Integration tests

Integration tests #49

Workflow file for this run

# This workflow will build a golang project
name: Integration tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '30 1 * * *'
jobs:
run-integration-test:
runs-on: ubuntu-latest
env:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}
PINECONE_INDEX_INTEGRATION_TEST: ${{ secrets.PINECONE_INDEX_INTEGRATION_TEST }}
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
cache: false
- uses: actions/checkout@v3
- name: Test
run: go run github.com/onsi/ginkgo/v2/ginkgo@latest -p -race -v ./integration_tests