-
Notifications
You must be signed in to change notification settings - Fork 272
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 #501 from PyThaiNLP/dev (build and deploy docs)
PyThaiNLP 2.2.6
- Loading branch information
Showing
40 changed files
with
365 additions
and
317 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Propose a change or an addition เสนอความสามารถใหม่ | ||
--- | ||
|
||
## Detailed description | ||
<!--- Provide a detailed description of the change or addition you are proposing --> | ||
|
||
## Context | ||
<!--- Why is this change important to you? How would you use it? --> | ||
<!--- How can it benefit other users? --> | ||
|
||
## Possible implementation | ||
<!--- Not obligatory, but suggest an idea for implementing addition or change --> | ||
|
||
## Your environment | ||
* PyThaiNLP version: | ||
* Python version: | ||
* Operating system and version (distro, 32/64-bit): | ||
* More info (Docker, VM, etc.): |
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,46 @@ | ||
--- | ||
name: Issue report | ||
about: Create a report to help us improve รายงานปัญหา | ||
--- | ||
|
||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
## Description | ||
<!--- Provide a more detailed introduction to the issue itself. --> | ||
<!-- Why you consider it to be an issue or a bug. --> | ||
|
||
## Expected results | ||
<!-- Tell us what should happen. --> | ||
|
||
## Current results | ||
<!-- Tell us what happens instead. --> | ||
<!-- You can also put screenshot here. --> | ||
|
||
## Steps to reproduce | ||
<!-- Steps to reproduce the behavior. --> | ||
1. | ||
2. | ||
3. | ||
|
||
<!-- You can also put a source code here. --> | ||
```python | ||
``` | ||
|
||
## Context | ||
<!-- How has this issue affected you? --> | ||
<!-- What are you trying to accomplish? --> | ||
<!-- Providing context helps us come up with a solution that is most useful in the real world. --> | ||
|
||
## Your environment | ||
* PyThaiNLP version: | ||
* Python version: | ||
* Operating system and version (distro, 32/64-bit): | ||
* More info (Docker, VM, etc.): | ||
|
||
## Possible solution | ||
<!-- (Optional) Suggest a fix for the issue, | ||
or ideas how to implement the change. --> | ||
|
||
## Files | ||
<!-- (Optional) A list of relevant files for this issue. --> | ||
<!-- This will help people navigate the project and offer some clues of where to start. --> |
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,19 @@ | ||
### What does this changes | ||
|
||
Brief summary of the changes | ||
|
||
### What was wrong | ||
|
||
Description of what was the root cause of the issue. | ||
|
||
### How this fixes it | ||
|
||
Description of how the changes fix the issue. | ||
|
||
Fixes #... | ||
|
||
### Your checklist for this pull request | ||
🚨Please review the [guidelines for contributing](../CONTRIBUTING.md) to this repository. | ||
|
||
- [ ] Passed code styles and structures | ||
- [ ] Passed code linting checks and unit test |
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,33 @@ | ||
name: Unit test and code coverage | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest coverage coveralls | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
pip install "h5py>=2.10.0,<3" "tensorflow>=2.3.1,<3" | ||
pip install torch==1.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html | ||
pip install deepcut | ||
pip install .[full] | ||
- name: Test | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
coverage run -m unittest discover | ||
CI_BRANCH=${GITHUB_REF#"ref/heads"} COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} coveralls |
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
Oops, something went wrong.