Fixed #203 -- Added ticket component to timeline #82
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 | |
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 |