Skip to content

Add NOTTE_CONFIG_DIR override for config path #47

Add NOTTE_CONFIG_DIR override for config path

Add NOTTE_CONFIG_DIR override for config path #47

name: Integration Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: # Manual trigger
env:
GO_VERSION: '1.25.5'
jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build CLI
run: go build -o notte ./cmd/notte
- name: Run Integration Tests
env:
NOTTE_API_KEY: ${{ secrets.NOTTE_API_KEY }}
NOTTE_API_URL: https://us-staging.notte.cc
run: |
if [ -z "$NOTTE_API_KEY" ]; then
echo "::error::NOTTE_API_KEY secret is not configured. Please add it in Settings > Secrets and variables > Actions"
exit 1
fi
go test -v -tags=integration -timeout=20m ./tests/integration/...