Skip to content

Bump django from 5.0.6 to 5.0.7 (#123) #131

Bump django from 5.0.6 to 5.0.7 (#123)

Bump django from 5.0.6 to 5.0.7 (#123) #131

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@v2
- 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
pip install -r requirements.txt
- name: Run Tests
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
cp env_files/.pm-env-test env_files/.pm-env
cp -r env_files src
cd src
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic --noinput
python manage.py test