Bump phonenumbers from 8.13.34 to 8.13.39 #401
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For copyright and license terms, see COPYRIGHT.md (top level of repository) | |
# Repository: https://github.com/georga-app/georga-server-django | |
name: Django CI | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: python:3.11-bookworm | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_NAME: georga | |
POSTGRES_USER: georga | |
POSTGRES_PASSWORD: georga | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
# - name: Generate JWT Certs | |
# run: | | |
# sh scripts/generate_jwt_certs.sh | |
- name: Run Tests | |
run: | | |
python manage.py test | |
env: | |
REDIS_HOST: redis | |
REDIS_PORT: 6379 | |
DATABASE_HOST: postgres | |
DATABASE_PORT: 5432 | |
DATABASE_NAME: georga | |
DATABASE_USER: georga | |
DATABASE_PASSWORD: georga | |
# DJANGO_JWT_PRIVATE_KEY: keys/jwtRS256.pem | |
# DJANGO_JWT_PUBLIC_KEY: keys/jwtRS256_pub.pem | |
DJANGO_JWT_PRIVATE_KEY: null | |
DJANGO_JWT_PUBLIC_KEY: null |