Skip to content

build(deps): bump drf-spectacular-sidecar from 2024.11.1 to 2024.12.1 #619

build(deps): bump drf-spectacular-sidecar from 2024.11.1 to 2024.12.1

build(deps): bump drf-spectacular-sidecar from 2024.11.1 to 2024.12.1 #619

Workflow file for this run

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