-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* display_complex_field (#193) * deprecation warning for plot_complex_field in favor of display_complex_field * updated save_video and notebooks * points_on_circle, unit_fibonacci_sphere, circ_mask, bli_function are not private anymore * added css and js files to paths for build_docs action * removed __about__ * removed transformations module * added more tests for signal_processing * update docs and example with display_complex_field
- Loading branch information
1 parent
2366bf8
commit 8a06c74
Showing
44 changed files
with
878 additions
and
896 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
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 @@ | ||
# This is a workflow that runs whenever a pull request | ||
# changes some documentation files or the mkdocs.yml file. It | ||
# checks that the documentation builds correctly. | ||
|
||
name: Build Docs | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
- 'mkdocs.yml' | ||
- '**.md' | ||
- '**.ipynb' | ||
- '**.sh' | ||
- '**.css' | ||
- '**.js' | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./.github/actions/python-poetry-env | ||
- name: Build docs | ||
run: poetry run mkdocs build |
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 @@ | ||
# This workflow runs both the regression tests and the unit/integration tests. | ||
# It is triggered on push to the main branch. | ||
|
||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
full_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/python-poetry-env | ||
- name: Downloading test data | ||
run: | | ||
make get_test_data | ||
- name: Running Regression Tests | ||
run: | | ||
poetry run coverage run --source=jwave -m pytest -xvs ./tests/regression_tests | ||
- name: Remove coverage data from regression tests | ||
run: | | ||
rm ./.coverage | ||
- name: Running Unit and Integration tests | ||
run: | | ||
poetry run coverage run --source=jwave -m pytest -xvs --ignore=tests/regression_tests | ||
poetry run coverage xml | ||
- name: "Upload coverage to Codecov" | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage.xml | ||
name: codecov-umbrella |
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 @@ | ||
# This is a workflow for Regression Tests. | ||
# It is triggered by a pull request to the main branch. | ||
|
||
name: Regression Tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
regression_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/python-poetry-env | ||
- name: Downloading test data | ||
run: | | ||
make get_test_data | ||
- name: Running tests | ||
run: poetry run coverage run --source=jwave -m pytest -xvs ./tests/regression_tests |
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,33 @@ | ||
# This is a workflow for Unit, Integration, and Regression Tests | ||
# It is used to test the code on every pull request, whenever a | ||
# python, matlab, yaml, makefile, or markdown file is changed. | ||
|
||
name: Unit and Integration Tests | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.py' | ||
- '**.m' | ||
- '**.yaml' | ||
- '**Makefile' | ||
|
||
jobs: | ||
unit_and_integration_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/python-poetry-env | ||
- name: Downloading test data | ||
run: | | ||
make get_test_data | ||
- name: Running tests | ||
run: | | ||
poetry run coverage run --source=jwave -m pytest -xvs --ignore=tests/regression_tests | ||
poetry run coverage xml | ||
- name: "Upload coverage to Codecov" | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage.xml | ||
name: codecov-umbrella |
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
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
31 changes: 19 additions & 12 deletions
31
docs/notebooks/harmonic/helmholtz_solver_differentiable.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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.