Skip to content

pip(deps): bump mkdocs-material from 9.5.20 to 9.5.21 #236

pip(deps): bump mkdocs-material from 9.5.20 to 9.5.21

pip(deps): bump mkdocs-material from 9.5.20 to 9.5.21 #236

Workflow file for this run

name: Testing
on:
pull_request:
workflow_dispatch:
jobs:
build:
env:
USING_COVERAGE: "3.12"
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/postgres"
runs-on: ubuntu-latest
services:
postgresdbTest:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
max-parallel: 10
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12","3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Wait for PostgreSQL to become ready
run: |
for i in {1..30}; do
pg_isready -h localhost -p 5432 && echo Success && exit 0
echo -n .
sleep 2
done
echo Failed waiting for Postgres && exit 1
- 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
pip install -r requirements.txt --use-deprecated=legacy-resolver
- name: Test with pytest
run: |
pip install pytest
pytest