File tree Expand file tree Collapse file tree 3 files changed +93
-1
lines changed Expand file tree Collapse file tree 3 files changed +93
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Django-RQL library
2
+
3
+ on :
4
+ push :
5
+ branches : ' *'
6
+ tags :
7
+ - ' *'
8
+ pull_request :
9
+ branches : [ master ]
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ python-version : [3.6, 3.7, 3.8]
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ pip install -r requirements/dev.txt
26
+ pip install -r requirements/test.txt
27
+ - name : Linting
28
+ run : |
29
+ flake8
30
+ - name : Testing
31
+ run : |
32
+ python setup.py test
33
+ - name : Upload coverage
34
+ uses : codecov/codecov-action@v1
35
+ with :
36
+ file : ./tests/reports/coverage.xml
37
+ fail_ci_if_error : true
38
+ verbose : true
39
+ - name : SonarCloud
40
+ uses : SonarSource/sonarcloud-github-action@master
41
+ env :
42
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Deploy Django-RQL library
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ python-version : [3.6, 3.7, 3.8]
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Set up Python ${{ matrix.python-version }}
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : ${{ matrix.python-version }}
20
+ - name : Install dependencies
21
+ run : |
22
+ pip install -r requirements/dev.txt
23
+ pip install -r requirements/test.txt
24
+ pip install twine
25
+ - name : Linting
26
+ run : |
27
+ flake8
28
+ - name : Testing
29
+ run : |
30
+ python setup.py test
31
+ - name : Upload coverage
32
+ uses : codecov/codecov-action@v1
33
+ with :
34
+ file : ./tests/reports/coverage.xml
35
+ fail_ci_if_error : true
36
+ verbose : true
37
+ - name : SonarCloud
38
+ uses : SonarSource/sonarcloud-github-action@master
39
+ env :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
42
+ - name : Publish to PyPI
43
+ env :
44
+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
45
+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
46
+ run : |
47
+ python setup.py sdist bdist_wheel
48
+ twine upload dist/*
Original file line number Diff line number Diff line change 1
1
Django RQL
2
2
==========
3
- ![ pyversions] ( https://img.shields.io/pypi/pyversions/django-rql.svg ) [ ![ PyPi Status] ( https://img.shields.io/pypi/v/django-rql.svg )] ( https://pypi.org/project/django-rql/ ) [ ![ Docs] ( https://readthedocs.org/projects/django-rql/badge/?version=latest )] ( https://readthedocs.org/projects/django-rql ) [ ![ codecov] ( https://codecov.io/gh/cloudblue/django-rql/branch/master/graph/badge.svg )] ( https://codecov.io/gh/cloudblue/django-rql ) [ ![ Build Status] ( https://travis-ci.org/cloudblue/django-rql.svg?branch=master )] ( https://travis-ci.org/cloudblue/django-rql ) [ ![ PyPI status] ( https://img.shields.io/pypi/status/django-rql.svg )] ( https://pypi.python.org/pypi/django-rql/ ) [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=django-rql&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=django-rql )
3
+ ![ pyversions] ( https://img.shields.io/pypi/pyversions/django-rql.svg ) [ ![ PyPi Status] ( https://img.shields.io/pypi/v/django-rql.svg )] ( https://pypi.org/project/django-rql/ ) [ ![ Docs] ( https://readthedocs.org/projects/django-rql/badge/?version=latest )] ( https://readthedocs.org/projects/django-rql ) [ ![ codecov] ( https://codecov.io/gh/cloudblue/django-rql/branch/master/graph/badge.svg )] ( https://codecov.io/gh/cloudblue/django-rql ) [ ![ Build Status] ( https://github.com/cloudblue/django-rql/workflows/Build%20Django-RQL%20library/badge.svg )] ( https://github.com/cloudblue/django-rql/actions ) [ ![ PyPI status] ( https://img.shields.io/pypi/status/django-rql.svg )] ( https://pypi.python.org/pypi/django-rql/ ) [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=django-rql&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=django-rql )
4
+
4
5
5
6
6
7
` django-rql ` is an Django application, that implements RQL filter backend for your web application.
You can’t perform that action at this time.
0 commit comments