-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from pomponchik/develop
0.0.24
- Loading branch information
Showing
12 changed files
with
153 additions
and
10 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,32 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: pomponchik | ||
|
||
--- | ||
|
||
## Short description | ||
|
||
Replace this text with a short description of the error and the behavior that you expected to see instead. | ||
|
||
|
||
## Describe the bug in detail | ||
|
||
Please add this test in such a way that it reproduces the bug you found and does not pass: | ||
|
||
```python | ||
def test_your_bug(): | ||
... | ||
``` | ||
|
||
Writing the test, please keep compatibility with the [`pytest`](https://docs.pytest.org/) framework. | ||
|
||
If for some reason you cannot describe the error in the test format, describe here the steps to reproduce it. | ||
|
||
|
||
## Environment | ||
- OS: ... | ||
- Python version (the output of the `python --version` command): ... | ||
- Version of this package: ... |
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,26 @@ | ||
--- | ||
name: Documentation fix | ||
about: Add something to the documentation, delete it, or change it | ||
title: '' | ||
labels: documentation | ||
assignees: pomponchik | ||
--- | ||
|
||
## It's cool that you're here! | ||
|
||
Documentation is an important part of the project, we strive to make it high-quality and keep it up to date. Please adjust this template by outlining your proposal. | ||
|
||
|
||
## Type of action | ||
|
||
What do you want to do: remove something, add it, or change it? | ||
|
||
|
||
## Where? | ||
|
||
Specify which part of the documentation you want to make a change to? For example, the name of an existing documentation section or the line number in a file `README.md`. | ||
|
||
|
||
## The essence | ||
|
||
Please describe the essence of the proposed change |
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,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: pomponchik | ||
|
||
--- | ||
|
||
## Short description | ||
|
||
What do you propose and why do you consider it important? | ||
|
||
|
||
## Some details | ||
|
||
If you can, provide code examples that will show how your proposal will work. Also, if you can, indicate which alternatives to this behavior you have considered. And finally, how do you propose to test the correctness of the implementation of your idea, if at all possible? |
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,12 @@ | ||
--- | ||
name: Question or consultation | ||
about: Ask anything about this project | ||
title: '' | ||
labels: guestion | ||
assignees: pomponchik | ||
|
||
--- | ||
|
||
## Your question | ||
|
||
Here you can freely describe your question about the project. Please, before doing this, read the documentation provided, and ask the question only if the necessary answer is not there. In addition, please keep in mind that this is a free non-commercial project and user support is optional for its author. The response time is not guaranteed in any way. |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Old tests | ||
|
||
on: | ||
push | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-13, ubuntu-latest, windows-latest] | ||
python-version: ['3.7'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install the library | ||
shell: bash | ||
run: pip install . | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: pip install -r requirements_dev.txt | ||
|
||
- name: Print all libs | ||
shell: bash | ||
run: pip list | ||
|
||
- name: Run tests and show coverage on the command line | ||
run: coverage run --source=cantok --omit="*tests*" -m pytest --cache-clear --assert=plain && coverage report -m | ||
|
||
- name: Upload reports to codecov | ||
env: | ||
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} | ||
if: runner.os == 'Linux' | ||
run: | | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov | ||
find . -iregex "codecov.*" | ||
chmod +x codecov | ||
./codecov -t ${CODECOV_TOKEN} | ||
- name: Run tests and show the branch coverage on the command line | ||
run: coverage run --branch --source=cantok --omit="*tests*" -m pytest --cache-clear --assert=plain && coverage report -m |
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
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