Skip to content

[pip](deps-dev): Bump pytest from 7.3.2 to 7.4.0 #318

[pip](deps-dev): Bump pytest from 7.3.2 to 7.4.0

[pip](deps-dev): Bump pytest from 7.3.2 to 7.4.0 #318

Workflow file for this run

name: Tests
on:
push:
branches:
- dev/v3
pull_request:
branches:
- dev/v3
env:
DATABASE_PRISMA_URL: postgresql://postgres:postgres@localhost:5432/postgres
REDIS_HOST: localhost
REDIS_PORT: 6379
REDIS_PASSWORD: xelt
REDIS_URI: redis://localhost:6379/0
jobs:
Test:
name: Test (${{ matrix.version }})
runs-on: ubuntu-latest
services:
redis:
image: redis/redis-stack-server:7.0.6-RC8
ports:
- 6379:6379
postgres:
image: postgres:15
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:
fail-fast: false
matrix:
version: [3.8, 3.9, '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
- name: Install Nox
run: |
pip install --upgrade nox
- name: Run Tests
run: |
RAW_PYTHON_VERSION=${{ matrix.version }}
PYTHON_VERSION=$(echo $RAW_PYTHON_VERSION | sed 's/\.//')
nox --sessions test$PYTHON_VERSION