Skip to content

ignore version changes #105

ignore version changes

ignore version changes #105

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
pytest:
name: Run linting and tests
runs-on: ubuntu-latest
env:
PDM_BUILD_SCM_VERSION: "1.0.0"
services:
timescaledb:
image: timescale/timescaledb:latest-pg15
env:
POSTGRES_PASSWORD: timescaledb
POSTGRES_USER: timescaledb
POSTGRES_DB: timescaledb
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
cache: true
python-version: '3.11'
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure
- name: Install dependencies
run: pdm install -x -dG test
- name: Run tests
run: pdm run pytest --cov=dbt
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.xml