Skip to content

Merge pull request #87 from roodjong/dependabot/npm_and_yarn/src/them… #87

Merge pull request #87 from roodjong/dependabot/npm_and_yarn/src/them…

Merge pull request #87 from roodjong/dependabot/npm_and_yarn/src/them… #87

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
django-checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version:
- '3.11'
- '3.12'
# - '3.13.0-beta.1' # doesn't work yet
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
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: |
python src/manage.py test
- name: Run Django Check
run: |
python src/manage.py check
- name: Check migrations
run: |
python src/manage.py makemigrations --check