generated from fhswf/MLPro-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 010d39f
Showing
49 changed files
with
1,100 additions
and
0 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,31 @@ | ||
--- | ||
name: Bug report | ||
about: Bug report | ||
title: 'Bug: ...' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**1 Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**2 To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**3 Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**4 Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**5 Additional Informations** | ||
|
||
5.1 Operating System | ||
- [ ] Linux | ||
- [ ] Windows | ||
- [ ] Mac OS |
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,23 @@ | ||
--- | ||
name: Enhancement | ||
about: Specification of a new enhancement | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Description/Motivation** | ||
... | ||
|
||
**Task list** | ||
- [ ] 1. Do this | ||
- [ ] 2. Do that | ||
|
||
|
||
**Related issues** | ||
#... | ||
|
||
|
||
**Cross references** | ||
... |
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,42 @@ | ||
--- | ||
name: Release-Checklist | ||
about: List of all necessary steps before, during and after a release. | ||
title: Release vX.Y.Z | ||
labels: admin | ||
assignees: detlefarend | ||
|
||
--- | ||
|
||
Release Checklist | ||
----------------- | ||
|
||
**1 Preparation** | ||
- [ ] 1.1 Inform the team on slack to stop merging to main | ||
- [ ] 1.2 Rename label "next release" to "vX.Y.Z" | ||
- [ ] 1.3 Create new label "next release" | ||
- [ ] 1.4 Relabel all open issues of release "vX.Y.Z" to "next release" | ||
- [ ] 1.5 Update version in ./setup.py | ||
- [ ] 1.6 Update version in ./src/setup.py | ||
- [ ] 1.7 Update version in ./src/conda/meta.yaml | ||
- [ ] 1.8 Check documentation on RTD | ||
- [ ] 1.8.1 All class diagrams there? | ||
- [ ] 1.8.2 All auto-generated code descriptions there? | ||
- [ ] 1.8.3 Logo there? | ||
- [ ] 1.9 Check action log for errors | ||
|
||
|
||
**2 Release** | ||
- [ ] 2.1 Create a new release | ||
- [ ] 2.2 Generate/beautify release notes | ||
- [ ] 2.3 Commit new release | ||
|
||
|
||
**3 Postprocessing** | ||
- [ ] 3.1 Check documentation on RTD | ||
- [ ] 3.1.1 All class diagrams there? | ||
- [ ] 3.1.2 All auto-generated code descriptions there? | ||
- [ ] 3.1.3 Logo there? | ||
- [ ] 3.2 Check entry on PyPI | ||
- [ ] 3.3 Check entry on Anaconda | ||
- [ ] 3.4 Inform the team on slack | ||
- [ ] 3.5 Significant progress? Write a project log entry on ResearchGate. |
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,15 @@ | ||
<!--- Please Provide general Summary on the PR Title --> | ||
|
||
## Description | ||
<!--- Describe in detail what is in this PR --> | ||
|
||
## Background | ||
<!--- What is the reason behind this PR --> | ||
<!--- If this relates to a open issue, please provide the link issue --> | ||
<!--- Please write "closes #123" to automatically close issue #123 on merge --> | ||
|
||
## Checklists: | ||
<!--- Please go over the checklist, and make sure you follow the guidelines --> | ||
<!--- If you have any question, please ask --> | ||
- [ ] Read the [CONTRIBUTION](https://github.com/fhswf/MLPro/blob/master/CONTRIBUTING.md) guide (**required**). | ||
- [ ] Update the history on the source code (**required**). |
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,45 @@ | ||
name: Conda Deploy | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
||
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 install conda-build anaconda-client conda-verify | ||
- name: Build Package | ||
run: | | ||
conda build --output-folder src/conda src/conda | ||
- name: Convert Package | ||
run: | | ||
conda convert -p win-64 -o src/conda src/conda/linux-64/*.tar.bz2 | ||
conda convert -p osx-64 -o src/conda src/conda/linux-64/*.tar.bz2 | ||
conda convert -p osx-arm64 -o src/conda src/conda/linux-64/*.tar.bz2 | ||
conda convert -p linux-aarch64 -o src/conda src/conda/linux-64/*.tar.bz2 | ||
conda convert -p linux-armv7l -o src/conda src/conda/linux-64/*.tar.bz2 | ||
conda convert -p linux-armv6l -o src/conda src/conda/linux-64/*.tar.bz2 | ||
- name: Upload Conda Package | ||
env: | ||
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | ||
run: | | ||
anaconda upload --force --label main src/conda/linux-64/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/win-64/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/osx-64/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/osx-arm64/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/linux-aarch64/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/linux-armv7l/*.tar.bz2 | ||
anaconda upload --force --label main src/conda/linux-armv6l/*.tar.bz2 |
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,53 @@ | ||
name: Autodoc Gen | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
tags: | ||
- '*' | ||
jobs: | ||
build: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
|
||
steps: | ||
- name: Checkout Codes | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 pytest | ||
pip install numpy | ||
pip install matplotlib | ||
pip install dill | ||
pip install stable-baselines3 | ||
pip install PettingZoo | ||
pip install gym==0.25.0 | ||
pip install pyglet | ||
pip install pymunk | ||
pip install pygame | ||
pip install sphinx | ||
pip install sphinx-rtd-theme | ||
pip install sphinx-copybutton | ||
pip install hyperopt | ||
pip install optuna | ||
pip install transformations | ||
- name: Build the Documentation | ||
run: | | ||
make docu | ||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Autodoc Generation | ||
branch: ${{ github.head_ref }} | ||
commit_user_name: Mochammad Rizky Diprasetya | ||
commit_user_email: [email protected] |
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,42 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: pub_pypi | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
steps: | ||
- name: Checkout Codes | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pypa/build | ||
run: >- | ||
python -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: >- | ||
python -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
- name: Publish distribution to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
Empty file.
Oops, something went wrong.