Skip to content

ci: Add release workflow (#71) #151

ci: Add release workflow (#71)

ci: Add release workflow (#71) #151

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
workflow_dispatch:
inputs: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-dynamic-versioning
poetry --version
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
DBT_EXT_TYPE=postgres poetry run pytest