Merge pull request #36 fix: truncate long names and fix badge pos #155
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: Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'dbt_column_lineage/**' | |
| - 'tests/**' | |
| - 'pyproject.toml' | |
| - 'poetry.lock' | |
| - '.github/workflows/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'dbt_column_lineage/**' | |
| - 'tests/**' | |
| - 'pyproject.toml' | |
| - 'poetry.lock' | |
| - '.github/workflows/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| - name: Load cached venv | |
| id: cached-poetry-dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} | |
| - name: Install dependencies | |
| run: poetry install --no-interaction | |
| - name: Run unit tests | |
| run: poetry run test-unit | |
| - name: Run integration tests | |
| run: poetry run test-integration | |
| - name: Run e2e | |
| run: poetry run test-e2e |