mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 14:08:13 +08:00
@@ -7,7 +7,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -52,15 +52,27 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest --cov=./django_q --cov-report=xml
|
poetry run pytest --cov=./django_q --cov-report=xml
|
||||||
- name: Upload coverage
|
- name: Upload to coveralls
|
||||||
uses: codecov/codecov-action@v1
|
run: |
|
||||||
|
python -m pip install coveralls
|
||||||
|
coveralls --service=github
|
||||||
env:
|
env:
|
||||||
PYTHON: ${{ matrix.python-version }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
DJANGO: ${{ matrix.django }}
|
COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}-django-${{ matrix.django }}
|
||||||
with:
|
COVERALLS_PARALLEL: true
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
env_vars: PYTHON, DJANGO
|
|
||||||
fail_ci_if_error: true
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
poetry run sphinx-build -b html -d docs/_build/doctrees -nW docs docs/_build/html
|
poetry run sphinx-build -b html -d docs/_build/doctrees -nW docs docs/_build/html
|
||||||
|
|
||||||
|
finish:
|
||||||
|
needs: test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: python:3-slim
|
||||||
|
steps:
|
||||||
|
- name: Upload to coveralls
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
python -m pip install coveralls
|
||||||
|
coveralls --service=github --finish
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
+5
-14
@@ -1,12 +1,7 @@
|
|||||||
.. image:: docs/_static/logo.png
|
|
||||||
:align: center
|
|
||||||
:alt: Q logo
|
|
||||||
:target: https://django-q.readthedocs.org/
|
|
||||||
|
|
||||||
A multiprocessing distributed task queue for Django
|
A multiprocessing distributed task queue for Django
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
|
||||||
|image0| |image1| |docs| |image2|
|
|image0| |image1| |docs|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
@@ -31,9 +26,7 @@ Requirements
|
|||||||
- `Arrow <https://github.com/crsmithdev/arrow>`__
|
- `Arrow <https://github.com/crsmithdev/arrow>`__
|
||||||
- `Blessed <https://github.com/jquast/blessed>`__
|
- `Blessed <https://github.com/jquast/blessed>`__
|
||||||
|
|
||||||
Tested with: Python 3.7, 3.8, 3.9 Django 2.2.X and 3.2.X
|
Tested with: Python 3.7, 3.8, 3.9, 3.10 Django 2.2.X and 3.2.X
|
||||||
|
|
||||||
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
|
|
||||||
|
|
||||||
Brokers
|
Brokers
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
@@ -255,12 +248,10 @@ Acknowledgements
|
|||||||
|
|
||||||
- JetBrains for their `Open Source Support Program <https://www.jetbrains.com/community/opensource>`__
|
- JetBrains for their `Open Source Support Program <https://www.jetbrains.com/community/opensource>`__
|
||||||
|
|
||||||
.. |image0| image:: https://github.com/koed00/django-q/workflows/Tests/badge.svg?branche=master
|
.. |image0| image:: https://github.com/GDay/django-q/workflows/Tests/badge.svg?branche=master
|
||||||
:target: https://github.com/Koed00/django-q/actions?query=workflow%3Atests
|
:target: https://github.com/Koed00/django-q/actions?query=workflow%3Atests
|
||||||
.. |image1| image:: http://codecov.io/github/Koed00/django-q/coverage.svg?branch=master
|
.. |image1| image:: https://coveralls.io/repos/github/GDay/django-q2/badge.svg?branch=master
|
||||||
:target: http://codecov.io/github/Koed00/django-q?branch=master
|
:target: https://coveralls.io/github/GDay/django-q2?branch=master
|
||||||
.. |image2| image:: http://badges.gitter.im/Join%20Chat.svg
|
|
||||||
:target: https://gitter.im/Koed00/django-q
|
|
||||||
.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest
|
.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest
|
||||||
:alt: Documentation Status
|
:alt: Documentation Status
|
||||||
:scale: 100
|
:scale: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user