Skip to content

Updated the default Trac queries. #101

Updated the default Trac queries.

Updated the default Trac queries. #101

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
noshadows:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- run: pip install "tinycss2>=1.2.0"
- run: python noshadows.py --tests
env:
PYTHONWARNINGS: error
tracdjangoplugin:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirements
run: python -m pip install -r requirements.txt
- name: Run tests
run: python -m django test tracdjangoplugin.tests
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
PYTHONWARNINGS: error
traccheck:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirements
run: python -m pip install -r requirements.txt
- run: python traccheck.py lint trac-env/
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
PYTHONWARNINGS: error
- run: python traccheck.py components --check .TRACFREEZE.txt trac-env/
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
PYTHONWARNINGS: error