Skip to content

requirement: bump pyjwt from 2.9.0 to 2.10.0 #171

requirement: bump pyjwt from 2.9.0 to 2.10.0

requirement: bump pyjwt from 2.9.0 to 2.10.0 #171

Workflow file for this run

name: 🔮 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
DJANGO_SETTINGS_MODULE: config.settings.dev
VIRTUAL_ENV: .venv
PGPORT: 5432
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
services:
postgres:
# Docker Hub image
image: postgres:15-alpine
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: 🐘 Non-durable PostgreSQL
run: |
psql <<SQL
ALTER SYSTEM SET fsync=off;
ALTER SYSTEM SET synchronous_commit=off;
ALTER SYSTEM SET full_page_writes=off;
SQL
docker kill --signal=SIGHUP ${{ job.services.postgres.id }}
env:
PGPASSWORD: password
PGHOST: localhost
PGUSER: postgres
- uses: actions/[email protected]
- name: 💾 Create a database to check migrations
run: |
psql <<SQL
CREATE DATABASE pilotage_django;
SQL
env:
PGPASSWORD: password
PGHOST: localhost
PGUSER: postgres
- name: 💂 Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: requirements/dev.txt
- name: 📥 Install Python dependencies
run: |
make venv
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
- name: ✨ Verify quality
run: make quality