Update GitHub workflows for Google Cloud authentication #26
Workflow file for this run
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: Run pytest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev* | |
| - feature/* | |
| paths-ignore: | |
| - "dbt/**" | |
| - "profiles.yml" | |
| - "**.md" | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "dbt/**" | |
| - "profiles.yml" | |
| - "**.md" | |
| workflow_dispatch: # Allows manual triggering | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Setup UV | |
| id: setup-uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install Dependencies | |
| run: | | |
| uv pip install --system -e . # Install package in development mode | |
| uv pip install --system pytest # Explicitly install pytest | |
| - name: Run pytest | |
| run: | | |
| pytest tests/ -v |