Skip to content

Commit

Permalink
Document releasing & add runmodels activity diagram (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsavulescu authored Sep 6, 2023
1 parent b72c1f1 commit 6507662
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ All entries are optional:

(*) `verify_graph_()` saves all lines of all graphs to the `gout` file in the model working directory.

### TODO: Model Run Activity Diagram
### Model Run Activity Diagram

When launching `runmodels` the following happens:

![runmodels.png](runmodels.png)

See model configuration section for details on how to configure the model run.

### Report

Expand Down Expand Up @@ -302,6 +308,15 @@ There are two types of model skipping:

In principle this should never be needed, and all instances of `run: null` and `skip: true` should be fixed.


## Creating a new PyPI release

In order to create a new release and publish it to PyPi, a new GitHub release together with a new tag on master must be published.
Please refer to the official documentation: https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository

[python-publish.yaml GitHub workflow](.github/workflows/nrn-modeldb-ci.yaml) is used to automate the process of uploading a Python package to the Python Package Index (PyPI). The workflow is triggered by the release event (with the published type). Using the ``build`` package, it creates a source distribution and a wheel distribution of the package. The final step is to publish the package to PyPI using the ``pypa/gh-action-pypi-publish`` action.


## Funding


Expand Down
Binary file added runmodels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6507662

Please sign in to comment.