-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modify README.rst * modify README.rst * modify README.rst * Create python-package-conda.yml * modify README.rst * add pr template
- Loading branch information
Showing
7 changed files
with
125 additions
and
1 deletion.
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,26 @@ | ||
--- | ||
name: Bug Report 🐞 | ||
about: Something isn't working as expected? Here is the right place to report. | ||
--- | ||
|
||
## Description | ||
<!-- A clear description of the bug --> | ||
|
||
## Reproducible example | ||
<!-- Minimal code that exhibits this behavior --> | ||
|
||
## Environment info | ||
|
||
LightGBM version or commit hash: | ||
|
||
Command(s) you used to install LightGBM | ||
|
||
```shell | ||
|
||
``` | ||
|
||
<!-- Put any additional environment information here --> | ||
|
||
|
||
## Additional Comments | ||
<!-- What else should we know? --> |
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,25 @@ | ||
--- | ||
name: Feature Request 💡 | ||
about: Suggest a new idea for the project. | ||
labels: enhancement, feature-request | ||
--- | ||
|
||
<!-- | ||
Please search your feature on previous issues and our feature requests consolidation hub (https://github.com/microsoft/LightGBM/issues/2302) before you open a new one. | ||
--> | ||
|
||
## Summary | ||
|
||
<!-- Briefly explain your feature proposal. --> | ||
|
||
## Motivation | ||
|
||
<!-- Why is it useful to have this feature in the LightGBM project? --> | ||
|
||
## Description | ||
|
||
<!-- Detailed description of the new feature. --> | ||
|
||
## References | ||
|
||
<!-- Any useful references, for instance, papers, implementations in other projects, draft code snippets, 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,18 @@ | ||
<!-- | ||
Thanks for contributing a pull request! Please ensure that | ||
your PR satisfies the checklist before submitting: | ||
- [ ] Added **tests** for changed code. | ||
- [ ] Updated **documentation** for changed code. | ||
Again, thanks for contributing! | ||
--> | ||
|
||
#### Reference issue | ||
<!--Example: Closes gh-WXYZ.--> | ||
|
||
#### What does this implement/fix? | ||
<!--Please explain your changes.--> | ||
|
||
#### Additional information | ||
<!--Any additional information you think is important.--> |
File renamed without changes.
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,38 @@ | ||
name: Python Package using Conda | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 5 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
- name: Add conda to system path | ||
run: | | ||
# $CONDA is an environment variable pointing to the root of the miniconda directory | ||
echo $CONDA/bin >> $GITHUB_PATH | ||
- name: Install dependencies | ||
run: | | ||
conda env update --file environment.yml --name base | ||
- name: Lint with flake8 | ||
run: | | ||
conda install flake8 | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Black formatting | ||
run: | | ||
conda install black | ||
black . | ||
- name: Test with pytest | ||
run: | | ||
conda install pytest | ||
pytest |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.