-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into utf8-support
- Loading branch information
Showing
14 changed files
with
178 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: 'Bug Report' | ||
about: Report a bug | ||
--- | ||
|
||
# Bug Report | ||
|
||
## Description | ||
|
||
<!-- edit: --> A clear and concise description of the problem... | ||
|
||
## Is this a regression? | ||
|
||
<!-- Did this behavior use to work in the previous version? --> | ||
<!-- edit: --> Yes, the previous version in which this bug was not present was: ... | ||
|
||
## Minimal Reproduction | ||
|
||
```code | ||
``` | ||
|
||
## Stack trace / Error message | ||
|
||
```code | ||
``` | ||
|
||
<!-- If the issue is accompanied by an exception or an error, please share it below: --> | ||
|
||
## Your Environment | ||
|
||
```code | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: 'Feature Request' | ||
about: Suggest a feature | ||
--- | ||
|
||
# Feature Request | ||
|
||
## Description | ||
|
||
<!-- edit: --> A clear and concise description of the problem or missing capability... | ||
|
||
## Describe the solution you'd like | ||
|
||
<!-- edit: --> If you have a solution in mind, please describe it. | ||
|
||
## Describe alternatives you've considered | ||
|
||
<!-- edit: --> Have you considered any alternative solutions or workarounds? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# PR Checklist | ||
|
||
Please check if your PR fulfills the following requirements: | ||
|
||
- [ ] The commit message follows our contributing guidelines | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] Docs have been added / updated (for bug fixes / features) | ||
|
||
## PR Type | ||
|
||
What kind of change does this PR introduce? | ||
|
||
- [ ] Bugfix | ||
- [ ] Feature | ||
- [ ] Code style update | ||
- [ ] Refactoring (no functional changes) | ||
- [ ] Build related changes | ||
- [ ] CI related changes | ||
- [ ] Documentation content changes | ||
- [ ] Other | ||
|
||
## What is the current behavior? | ||
|
||
## What is the new behavior? | ||
|
||
## Does this PR introduce a breaking change? | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
## Other information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
publish: | ||
name: Publish the package on pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set the python version | ||
uses: actions/setup-python@v2 | ||
|
||
# This is the version of python used to package the code. The unit | ||
# tests will have run against python 3.6, 3.7 etc ensuring | ||
# compatibility with those runtimes. | ||
# https://github.com/axnsan12/drf-yasg/pull/741#discussion_r713297594 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install pip dependencies | ||
run: pip install -r requirements/publish.txt | ||
|
||
- name: Build the distributions | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish the package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Review | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
review: | ||
name: Run linters and tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python: [3.6, 3.7, 3.8, 3.9] | ||
|
||
steps: | ||
- name: Set up pip package caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: ${{ runner.os }}-pip- | ||
|
||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set the python version | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install pip dependencies | ||
run: pip install -r requirements/ci.txt | ||
|
||
- name: Run unit tests | ||
run: tox |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
coreapi>=2.3.3 | ||
coreschema>=0.0.4 | ||
djangorestframework>=3.10.3 | ||
django>=2.2.16 | ||
ruamel.yaml>=0.15.34 | ||
inflection>=0.3.1 | ||
packaging>=21.0 | ||
pytz>=2021.1 | ||
uritemplate>=3.0.0 | ||
packaging | ||
|
||
djangorestframework>=3.10.3 | ||
Django>=2.2.16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# requirements for the CI test runner | ||
tox-travis>=0.10 | ||
codecov>=2.0.9 | ||
|
||
-r tox.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wheel>=0.37.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters