build(deps): bump pygments from 2.18.0 to 2.19.0 #624
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 Test | |
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
env: | |
DATABASE_URL: "sqlite:///:memory" | |
DJANGO_SETTINGS_MODULE: teamtemp.settings.dev | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements | |
run: | | |
pip install -U pip wheel setuptools | |
pip install -U -r requirements/dev.txt | |
- name: Setup | |
run: | | |
python manage.py migrate --no-input | |
python manage.py collectstatic --no-input | |
- name: Run tests | |
run: | | |
coverage run manage.py test | |
coverage xml | |
coverage lcov | |
#- name: Upload coverage to coveralls.io | |
# uses: coverallsapp/github-action@v2 | |
# with: | |
# github-token: ${{ github.token }} | |
# path-to-lcov: coverage.lcov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
#token: ${{ secrets.CODECOV_TOKEN }} | |
files: coverage.xml | |
verbose: true |