Updated to Django 5.0.9 #119
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
env: | |
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests | |
# passlib has a conditional import for `crypt` which is going away in python 3.13 | |
# and therefore throwing warnings | |
PYTHONWARNINGS: > | |
error, | |
default:::passlib.utils, | |
jobs: | |
noshadows: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- run: pip install "tinycss2>=1.2.0" | |
- run: python noshadows.py --tests | |
tracdjangoplugin: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install system package dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install subversion | |
- name: Install requirements | |
run: python -m pip install -r requirements.txt | |
- name: Run tests | |
run: python -m django test tracdjangoplugin.tests | |
traccheck: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install system package dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install subversion | |
- name: Install requirements | |
run: python -m pip install -r requirements.txt | |
- name: Lint Trac configuration | |
run: python traccheck.py lint trac-env/ | |
- name: Check frozen Trac components | |
run: python traccheck.py components --check .TRACFREEZE.txt trac-env/ |