Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

Update README.md

Update README.md #99

Workflow file for this run

on: [ push, pull_request ]
name: Test
jobs:
lint:
name: Ruff
runs-on: ubuntu-latest
steps:
- name: Copy files from repo
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run Ruff
run: poetry run task lint
django:
name: Tests
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [ 3.11 ]
env:
DJANGO_SETTINGS_MODULE: ${{ secrets.DJANGO_SETTINGS_MODULE }}
DEBUG: ${{ secrets.DEBUG }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
SQLITE: ${{ secrets.SQLITE }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run Tests
run: |
python manage.py collectstatic --noinput
python manage.py check
python manage.py migrate
poetry run task test
- name: Store coverage files
uses: actions/upload-artifact@v4
with:
name: coverage-html
path: htmlcov