chore: dont forward sqlfluff extra conf is path doesnt exist #258
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: Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| tests: | |
| name: ${{ matrix.python }} / ${{ matrix.os }} / dbt v${{ matrix.dbt }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { python: "3.12", os: "ubuntu-latest", dbt: "1.8" } | |
| - { python: "3.11", os: "ubuntu-latest", dbt: "1.8" } | |
| - { python: "3.10", os: "ubuntu-latest", dbt: "1.8" } | |
| - { python: "3.9", os: "ubuntu-latest", dbt: "1.8" } | |
| env: | |
| FORCE_COLOR: "1" | |
| PRE_COMMIT_COLOR: "always" | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v4.1.7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.7.17" | |
| python-version: ${{ matrix.python }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Run tests | |
| run: | | |
| uv run --directory tests/sqlfluff_templater/fixtures/dbt/dbt_project dbt deps | |
| uv run --directory tests/sqlfluff_templater/fixtures/dbt/dbt_project2 dbt deps | |
| uv run pytest |