From 470f73977779f472e415e44dfec914e074b2bba7 Mon Sep 17 00:00:00 2001 From: Eduardo Cuducos <4732915+cuducos@users.noreply.github.com> Date: Thu, 11 Apr 2024 20:01:19 -0400 Subject: [PATCH] Fixes CI and Read the Docs configs --- .github/{FUNDING.yml => FUNDING.yaml} | 0 .github/workflows/{tests.yml => tests.yaml} | 40 ++++++++++----------- .readthedocs.yaml | 7 ++++ README.md | 2 +- 4 files changed, 28 insertions(+), 21 deletions(-) rename .github/{FUNDING.yml => FUNDING.yaml} (100%) rename .github/workflows/{tests.yml => tests.yaml} (56%) create mode 100644 .readthedocs.yaml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yaml similarity index 100% rename from .github/FUNDING.yml rename to .github/FUNDING.yaml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yaml similarity index 56% rename from .github/workflows/tests.yml rename to .github/workflows/tests.yaml index 849b1bf..97a8ed1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yaml @@ -6,27 +6,27 @@ jobs: strategy: matrix: python-version: - - 3.12 - - 3.11 - - 3.10 - - 3.9 - django-version: - - 5.0 - - 4.2 - - 3.2 + - "3.12" + - "3.11" + - "3.10" + - "3.9" + dja "go-version: + - "5.0" + - "4.2" + - "3.2" exclude: - - django-version: 3.2 - python-version: 3.10 - - django-version: 3.2 - python-version: 3.11 - - django-version: 3.2 - python-version: 3.12 - - django-version: 4.2 - python-version: 3.11 - - django-version: 4.2 - python-version: 3.12 - - django-version: 5.0 - python-version: 3.9 + - django-version: "3.2" + python-version: "3.10" + - django-version: "3.2" + python-version: "3.11" + - django-version: "3.2" + python-version: "3.12" + - django-version: "4.2" + python-version: "3.11" + - django-version: "4.2" + python-version: "3.12" + - django-version: "5.0" + python-version: "3.9" name: Python ${{ matrix.python-version }} & Django ${{ matrix.django-version }} steps: - uses: actions/checkout@v2 diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..f3fe409 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,7 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.12" +sphinx: + configuration: docs/conf.py diff --git a/README.md b/README.md index 0f540cc..48016d2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![PyPI](https://img.shields.io/pypi/v/django-public-admin)](https://pypi.org/project/django-public-admin/) [![Documentation Status](https://readthedocs.org/projects/django-public-admin/badge/?version=latest)](https://django-public-admin.readthedocs.io/en/latest/?badge=latest) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-public-admin)](https://pypi.org/project/django-public-admin/) [![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-public-admin)](https://pypi.org/project/django-public-admin/) +[![PyPI](https://img.shields.io/pypi/v/django-public-admin)](https://pypi.org/project/django-public-admin/) [![Tests](https://img.shields.io/github/actions/workflow/status/cuducos/django-public-admin/tests.yml)](https://github.com/cuducos/django-public-admin/actions/workflows/tests.yml) [![Documentation Status](https://readthedocs.org/projects/django-public-admin/badge/?version=latest)](https://django-public-admin.readthedocs.io/en/latest/?badge=latest) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-public-admin)](https://pypi.org/project/django-public-admin/) [![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-public-admin)](https://pypi.org/project/django-public-admin/) # Django Public Admin