Skip to content

Commit

Permalink
#2 github actions, ci, codacy, coverage, pytest, badges
Browse files Browse the repository at this point in the history
  • Loading branch information
llybin committed Jan 19, 2020
1 parent 1e2ba83 commit 639724f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
coverage report
coverage xml
- name: Send coverage to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
pip install codacy-coverage==1.3.11
python-codacy-coverage -r ./coverage.xml
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@
## Requirements

Tested with:
* Python: 3.7, 3.8
* Django: 2.2
* Django REST framework: 3.10

* Python: 3.7, 3.8
* Django: 2.2
* Django REST framework: 3.10

## Installation

1. [Sign up for reCAPTCHA](https://www.google.com/recaptcha/)
2. Install with `pip install drf-recaptcha`
3. Add `"drf_recaptcha"` to your `INSTALLED_APPS` settings.
4. Set in settings `DRF_RECAPTCHA_SECRET_KEY`
1. [Sign up for reCAPTCHA](https://www.google.com/recaptcha/)
2. Install with `pip install drf-recaptcha`
3. Add `"drf_recaptcha"` to your `INSTALLED_APPS` settings.
4. Set in settings `DRF_RECAPTCHA_SECRET_KEY`

```python
INSTALLED_APPS = [
Expand Down

0 comments on commit 639724f

Please sign in to comment.