Allows override of endpoint via env var #236
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: [develop] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-nextmv: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.13"] | |
| env: | |
| PACKAGE: nextmv | |
| NEXTMV_API_KEY: ${{ secrets.API_KEY_PROD }} | |
| steps: | |
| - name: git clone | |
| uses: actions/checkout@v6 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.29" | |
| python-version: ${{ matrix.python-version }} | |
| - name: install the project | |
| run: uv sync --locked --dev | |
| working-directory: ./${{ env.PACKAGE }} | |
| - name: integration tests | |
| run: uv run pytest tests/integration -s | |
| working-directory: ./${{ env.PACKAGE }} |