Bump django from 5.0.7 to 5.0.8 #138
Workflow file for this run
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
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 |