mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-24 00:58:12 +08:00
@@ -7,7 +7,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -52,15 +52,27 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: |
|
||||
poetry run pytest --cov=./django_q --cov-report=xml
|
||||
- name: Upload coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
- name: Upload to coveralls
|
||||
run: |
|
||||
python -m pip install coveralls
|
||||
coveralls --service=github
|
||||
env:
|
||||
PYTHON: ${{ matrix.python-version }}
|
||||
DJANGO: ${{ matrix.django }}
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
env_vars: PYTHON, DJANGO
|
||||
fail_ci_if_error: true
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}-django-${{ matrix.django }}
|
||||
COVERALLS_PARALLEL: true
|
||||
- name: Build docs
|
||||
run: |
|
||||
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
|
||||
---------------------------------------------------
|
||||
|
||||
|image0| |image1| |docs| |image2|
|
||||
|image0| |image1| |docs|
|
||||
|
||||
Features
|
||||
~~~~~~~~
|
||||
@@ -31,9 +26,7 @@ Requirements
|
||||
- `Arrow <https://github.com/crsmithdev/arrow>`__
|
||||
- `Blessed <https://github.com/jquast/blessed>`__
|
||||
|
||||
Tested with: Python 3.7, 3.8, 3.9 Django 2.2.X and 3.2.X
|
||||
|
||||
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
|
||||
Tested with: Python 3.7, 3.8, 3.9, 3.10 Django 2.2.X and 3.2.X
|
||||
|
||||
Brokers
|
||||
~~~~~~~
|
||||
@@ -255,12 +248,10 @@ Acknowledgements
|
||||
|
||||
- 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
|
||||
.. |image1| image:: http://codecov.io/github/Koed00/django-q/coverage.svg?branch=master
|
||||
:target: http://codecov.io/github/Koed00/django-q?branch=master
|
||||
.. |image2| image:: http://badges.gitter.im/Join%20Chat.svg
|
||||
:target: https://gitter.im/Koed00/django-q
|
||||
.. |image1| image:: https://coveralls.io/repos/github/GDay/django-q2/badge.svg?branch=master
|
||||
:target: https://coveralls.io/github/GDay/django-q2?branch=master
|
||||
.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest
|
||||
:alt: Documentation Status
|
||||
:scale: 100
|
||||
|
||||
Reference in New Issue
Block a user