Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/gradle #127

Merged
merged 12 commits into from
Jul 10, 2020
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
example-name: [FFT-examples.ipynb, TCN-examples.ipynb, RNN-examples.ipynb, darts-intro.ipynb]
example-name: [examples/FFT-examples.ipynb, examples/TCN-examples.ipynb, examples/RNN-examples.ipynb, examples/darts-intro.ipynb]
steps:
- name: "1. Clone repository"
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void coverageTestSteps() {
commandLine "coverage", "run", "-m", "unittest"
}
exec {
commandLine "coverage", "report", "-m", "--fail-under=80"
commandLine "coverage", "report", "-m", "--fail-under=80", "--omit='darts/tests*,*__init__.py'"
}
}

Expand Down Expand Up @@ -110,7 +110,7 @@ def exampleName=project.properties["exampleName"] ?: ""

task checkExample(type: Exec) {
dependsOn installLocally
workingDir "./examples"
workingDir "."
// exampleName must be passed with -PexampleName=FFT-examples.ipynb
commandLine "papermill", exampleName, exampleName

Expand Down
550 changes: 429 additions & 121 deletions examples/FFT-examples.ipynb

Large diffs are not rendered by default.

4,947 changes: 4,580 additions & 367 deletions examples/RNN-examples.ipynb

Large diffs are not rendered by default.