-
-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1879 from pybamm-team/develop
Make release 21.12
- Loading branch information
Showing
164 changed files
with
4,705 additions
and
3,070 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
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
name: PyBaMM | ||
|
||
on: | ||
push: | ||
|
||
workflow_dispatch: | ||
pull_request: | ||
|
||
# everyday at 3 am UTC | ||
|
@@ -11,7 +10,23 @@ on: | |
|
||
jobs: | ||
|
||
pre_job: | ||
runs-on: ubuntu-latest | ||
# Map a step output to a job output | ||
outputs: | ||
should_skip: ${{ steps.skip_check.outputs.should_skip }} | ||
steps: | ||
- id: skip_check | ||
uses: fkirc/skip-duplicate-actions@master | ||
with: | ||
# All of these options are optional, so you can remove them if you are happy with the defaults | ||
concurrent_skipping: 'never' | ||
cancel_others: 'true' | ||
paths_ignore: '["**/README.md"]' | ||
|
||
style: | ||
needs: pre_job | ||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -80,6 +95,10 @@ jobs: | |
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 | ||
run: tox -e coverage | ||
|
||
- name: Upload coverage report | ||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 | ||
uses: codecov/[email protected] | ||
|
||
- name: Run integration tests for GNU/Linux | ||
if: matrix.os == 'ubuntu-latest' | ||
run: python -m tox -e integration | ||
|
@@ -100,6 +119,3 @@ jobs: | |
if: matrix.os == 'ubuntu-latest' | ||
run: tox -e examples | ||
|
||
- name: Upload coverage report | ||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 | ||
uses: codecov/[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
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
8 changes: 8 additions & 0 deletions
8
docs/source/models/submodels/active_material/loss_active_material.rst
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,8 @@ | ||
Loss of Active Material | ||
======================= | ||
|
||
.. autoclass:: pybamm.active_material.LossActiveMaterial | ||
:members: | ||
|
||
|
||
|
8 changes: 0 additions & 8 deletions
8
docs/source/models/submodels/active_material/reaction_driven_active_material.rst
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
docs/source/models/submodels/active_material/stress_driven_active_material.rst
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Diffusion-limited | ||
================= | ||
|
||
.. autoclass:: pybamm.interface.DiffusionLimited | ||
.. autoclass:: pybamm.kinetics.DiffusionLimited | ||
:members: |
4 changes: 2 additions & 2 deletions
4
docs/source/models/submodels/interface/first_order_kinetics.rst
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
First-order Kinetics | ||
==================== | ||
|
||
.. autoclass:: pybamm.interface.FirstOrderKinetics | ||
.. autoclass:: pybamm.kinetics.FirstOrderKinetics | ||
:members: | ||
|
||
.. autoclass:: pybamm.interface.InverseFirstOrderKinetics | ||
.. autoclass:: pybamm.kinetics.InverseFirstOrderKinetics | ||
:members: |
2 changes: 1 addition & 1 deletion
2
docs/source/models/submodels/interface/inverse_butler_volmer.rst
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Inverse Butler-Volmer | ||
===================== | ||
|
||
.. autoclass:: pybamm.interface.inverse_kinetics.InverseButlerVolmer | ||
.. autoclass:: pybamm.kinetics.InverseButlerVolmer | ||
:members: |
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
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.