Add NOTTE_CONFIG_DIR override for config path #47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/... |