Skip to content

Bump django-axes from 5.40.1 to 7.0.0 #9

Bump django-axes from 5.40.1 to 7.0.0

Bump django-axes from 5.40.1 to 7.0.0 #9

Workflow file for this run

name: Automated Tests
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
DB_HOST: localhost
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
USERNAME: root
jobs:
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hawkpost_dev
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
redis:
image: redis:7
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip pipenv
pipenv install --dev
- name: Collect Static assets
run: |
pipenv run python manage.py collectstatic --no-input
- name: Run Tests
run: |
pipenv run python manage.py test