Skip to content

TypeScript Improvements #677

TypeScript Improvements

TypeScript Improvements #677

Workflow file for this run

name: Test Python
on:
- push
- pull_request
jobs:
python-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
services:
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox -e test
- name: Test with tox with postgresql
run: tox -e test-with-postgresql