Skip to content

bump pydiverse.common 0.4 #333

bump pydiverse.common 0.4

bump pydiverse.common 0.4 #333

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "docs/**"
jobs:
lint:
name: Pre-commit Checks
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.1
- name: Set up pixi
uses: prefix-dev/setup-pixi@194d461b21b6c5717c722ffc597fa91ed2ff29fa # v0.8.1
- name: Install repository
# needed for generate-col-ops hook
run: pixi run postinstall
- name: pre-commit
run: pixi run pre-commit run -a --color=always --show-diff-on-failure
- name: Check pyproject.toml dependencies
run: pixi run check-deps
smoke_test:
name: Smoke Test
strategy:
matrix:
os:
- ubuntu-latest
environment:
- py312
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
environment: ${{ matrix.environment }}
docker-services: ""
other_test:
name: Other Tests (sqlite, duckdb_parquet)
needs: [smoke_test]
strategy:
matrix:
os:
- ubuntu-latest
environment:
- py310
- py311
- py312
- py313
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
environment: ${{ matrix.environment }}
docker-services: ""
pytest-arguments: --sqlite --duckdb_parquet
postgres_test:
name: Postgres Tests
needs: [smoke_test]
strategy:
matrix:
os:
- ubuntu-latest
environment:
- py310
- py311
- py312
- py313
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
environment: ${{ matrix.environment }}
docker-services: |
postgres
pytest-arguments: --postgres
mssql_test:
name: MSSql Tests
needs: [smoke_test]
strategy:
matrix:
os:
- ubuntu-latest
environment:
- py310
- py311
- py312
- py313
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
environment: ${{ matrix.environment }}
docker-services: |
mssql
pytest-arguments: --mssql
ibm_db2_test:
name: IBM DB2 Tests
needs: [smoke_test]
strategy:
matrix:
os:
- ubuntu-latest
environment:
- py311ibm
- py312ibm
- py313ibm
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
environment: ${{ matrix.environment }}
docker-services: |
ibm_db2
pytest-arguments: --ibm_db2