-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make release-tag: Merge branch 'master' into stable
- Loading branch information
Showing
68 changed files
with
650 additions
and
460 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,2 @@ | ||
# Global rule: | ||
* @sdv-dev/core-contributors |
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: Bug report | ||
about: Report an error that you found when using SDGym | ||
title: '' | ||
labels: bug, pending review | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Environment Details | ||
|
||
Please indicate the following details about the environment in which you found the bug: | ||
|
||
* SDGym version: | ||
* Python version: | ||
* Operating System: | ||
|
||
### Error Description | ||
|
||
<!--Replace this text with a description of what you were trying to get done. | ||
Tell us what happened, what went wrong, and what you expected to happen.--> | ||
|
||
### Steps to reproduce | ||
|
||
<!--Replace this text with a description of the steps that anyone can follow to | ||
reproduce the error. If the error happens only on a specific dataset, please | ||
consider attaching some example data to the issue so that others can use it | ||
to reproduce the error.--> | ||
|
||
``` | ||
Paste the command(s) you ran and the output. | ||
If there was a crash, please include the traceback here. | ||
``` |
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,24 @@ | ||
--- | ||
name: Feature request | ||
about: Request a new feature that you would like to see implemented in SDGym | ||
title: '' | ||
labels: new feature, pending review | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Problem Description | ||
|
||
<!--Replace this with a description of the problem that you think SDGym should be able | ||
to solve and is not solving already--> | ||
|
||
### Expected behavior | ||
|
||
<!--Replace this a clear and concise description of what you would expect SDGym with regards | ||
with the described problem. If possible, explain how you would like to interact with SDGym | ||
and what the outcome of this interaction would be.--> | ||
|
||
### Additional context | ||
|
||
<!--Please provide any additional context that may be relevant to the issue here. If none, | ||
please remove this section.--> |
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: Question | ||
about: Doubts about SDV usage | ||
title: '' | ||
labels: question, pending review | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Environment details | ||
|
||
If you are already running SDGym, please indicate the following details about the environment in | ||
which you are running it: | ||
|
||
* SDGym version: | ||
* Python version: | ||
* Operating System: | ||
|
||
### Problem description | ||
|
||
<!--Replace this with a description of the problem that you are trying to solve using SDGym. If | ||
possible, describe the data that you are using, or consider attaching some example data | ||
that others can use to propose a working solution for your problem.--> | ||
|
||
### What I already tried | ||
|
||
<!--Replace with a description of what you already tried and what is the behavior that you observe. | ||
If possible, also add below the exact code that you are running.--> | ||
|
||
``` | ||
Paste the command(s) you ran and the output. | ||
If there was a crash, please include the traceback here. | ||
``` |
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: Integration Tests | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
unit: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: [ubuntu-latest, macos-10.15, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- if: matrix.os == 'windows-latest' | ||
name: Install dependencies - Windows | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install 'torch==1.8.0' -f https://download.pytorch.org/whl/cpu/torch/ | ||
python -m pip install 'torchvision==0.9.0' -f https://download.pytorch.org/whl/cpu/torchvision/ | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install invoke .[test] | ||
- name: Run integration tests | ||
run: invoke integration |
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,21 @@ | ||
name: Style Checks | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install invoke .[dev] | ||
- name: Run lint checks | ||
run: invoke lint |
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: Unit Tests Minimum Versions | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
minimum: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: [ubuntu-latest, macos-10.15, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- if: matrix.os == 'windows-latest' | ||
name: Install dependencies - Windows | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install 'torch==1.8.0' -f https://download.pytorch.org/whl/cpu/torch/ | ||
python -m pip install 'torchvision==0.9.0' -f https://download.pytorch.org/whl/cpu/torchvision/ | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install invoke .[test] | ||
- name: Test with minimum versions | ||
run: invoke minimum |
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: Test README | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
readme: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: [ubuntu-latest, macos-10.15] # skip windows bc rundoc fails | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- 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 | ||
python -m pip install invoke rundoc . | ||
- name: Run the README.md | ||
run: invoke readme |
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,34 @@ | ||
name: Unit Tests | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
unit: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: [ubuntu-latest, macos-10.15, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- if: matrix.os == 'windows-latest' | ||
name: Install dependencies - Windows | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install 'torch==1.8.0' -f https://download.pytorch.org/whl/cpu/torch/ | ||
python -m pip install 'torchvision==0.9.0' -f https://download.pytorch.org/whl/cpu/torchvision/ | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install invoke .[test] | ||
- name: Run unit tests | ||
run: invoke unit | ||
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8 | ||
name: Upload codecov report | ||
uses: codecov/codecov-action@v2 |
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.