Skip to content

chore(deps): bump actions/checkout from 6.0.2 to 7.0.0 #103

chore(deps): bump actions/checkout from 6.0.2 to 7.0.0

chore(deps): bump actions/checkout from 6.0.2 to 7.0.0 #103

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
paths-ignore:
- '*.md'
- 'docs/**'
pull_request:
branches: [ main ]
paths-ignore:
- '*.md'
- 'docs/**'
permissions:
actions: read
contents: read
pull-requests: read
jobs:
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
postgres-version: [ "16", "17", "18" ]
fail-fast: true
services:
postgres:
image: postgres:${{ matrix.postgres-version }}
env:
POSTGRES_USER: taskiq_postgres
POSTGRES_PASSWORD: look_in_vault
POSTGRES_DB: taskiq_postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- id: setup-uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
enable-cache: true
cache-suffix: ${{ matrix.python-version }}
version: "latest"
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: uv sync --all-extras
- name: Run tests
run: uv run pytest