Skip to content

Bump actions/download-artifact from 5 to 6 #227

Bump actions/download-artifact from 5 to 6

Bump actions/download-artifact from 5 to 6 #227

Workflow file for this run

name: check
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
test:
name: test ${{ matrix.py }} on postgres ${{ matrix.postgres-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py:
- "3.14"
- "3.13"
- "3.12"
- "3.11"
- "3.10"
postgres-version:
- 14
- 15
- 16
- 17
- 18
steps:
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.py }}
- uses: actions/checkout@v5
- name: Create database
run: |
# maps the container port to localhost
docker run --name db -p 5432:5432 -d -e POSTGRES_PASSWORD=postgres postgres:${{ matrix.postgres-version }}
sleep 10 # wait for server to initialize
- name: Install tox-gh
run: python -m pip install tox-gh
- name: Run test suite
run: tox