Skip to content

Merge pull request #54 from Fszta/feat/ui-add-initial-state #194

Merge pull request #54 from Fszta/feat/ui-add-initial-state

Merge pull request #54 from Fszta/feat/ui-add-initial-state #194

Workflow file for this run

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