Skip to content

Commit

Permalink
👷 Fix CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Jan 30, 2024
1 parent 3041e89 commit 9f51d89
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.11', '3.12']
django: ['4.2']
python: ['3.9', '3.10', '3.11', '3.12']
django: ['3.2', '4.2']

name: Run the test suite (Python $, Django $)
name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }})

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: $
python-version: ${{ matrix.python }}

- name: Install dependencies
run: pip install tox tox-gh-actions

- name: Run tests
run: tox
env:
PYTHON_VERSION: $
DJANGO: $
PYTHON_VERSION: ${{ matrix.python }}
DJANGO: ${{ matrix.django }}

- name: Publish coverage report
uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: $
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
run: pip install tox
- run: tox
env:
TOXENV: $
TOXENV: ${{ matrix.toxenv }}
26 changes: 13 additions & 13 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Welcome to open_api_framework's documentation!

|build-status| |code-quality| |black| |coverage| |docs|

|python-versions| |django-versions| |pypi-version|
|python-versions| |django-versions|

<One liner describing the project>

Expand All @@ -33,28 +33,28 @@ Indices and tables
* :ref:`search`


.. |build-status| image:: https://github.com/maykinmedia/open_api_framework/workflows/Run%20CI/badge.svg
.. |build-status| image:: https://github.com/maykinmedia/open-api-framework/workflows/Run%20CI/badge.svg
:alt: Build status
:target: https://github.com/maykinmedia/open_api_framework/actions?query=workflow%3A%22Run+CI%22
:target: https://github.com/maykinmedia/open-api-framework/actions?query=workflow%3A%22Run+CI%22

.. |code-quality| image:: https://github.com/maykinmedia/open_api_framework/workflows/Code%20quality%20checks/badge.svg
.. |code-quality| image:: https://github.com/maykinmedia/open-api-framework/workflows/Code%20quality%20checks/badge.svg
:alt: Code quality checks
:target: https://github.com/maykinmedia/open_api_framework/actions?query=workflow%3A%22Code+quality+checks%22
:target: https://github.com/maykinmedia/open-api-framework/actions?query=workflow%3A%22Code+quality+checks%22

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black

.. |coverage| image:: https://codecov.io/gh/maykinmedia/open_api_framework/branch/master/graph/badge.svg
:target: https://codecov.io/gh/maykinmedia/open_api_framework
.. |coverage| image:: https://codecov.io/gh/maykinmedia/open-api-framework/branch/master/graph/badge.svg
:target: https://codecov.io/gh/maykinmedia/open-api-framework
:alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/open_api_framework/badge/?version=latest
:target: https://open_api_framework.readthedocs.io/en/latest/?badge=latest
.. |docs| image:: https://readthedocs.org/projects/open-api-framework/badge/?version=latest
:target: https://open-api-framework.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/open_api_framework.svg
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/open-api-framework.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/open_api_framework.svg
.. |django-versions| image:: https://img.shields.io/pypi/djversions/open-api-framework.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/open_api_framework.svg
:target: https://pypi.org/project/open_api_framework/
.. .. |pypi-version| image:: https://img.shields.io/pypi/v/open-api-framework.svg
.. :target: https://pypi.org/project/open-api-framework/
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ commands = isort --check-only --diff .
[testenv:black]
extras = tests
skipsdist = True
commands = black --check open_api_framework docs testapp tests setup.py
commands = black --check open_api_framework docs testapp tests

[testenv:flake8]
extras = tests
Expand Down

0 comments on commit 9f51d89

Please sign in to comment.