This action has to be run manually to build the tutorial and update the
doc folder on the main branch of the
github tutorial repositroy.
- The
testingworkflow from the testing repository is run to generate the packages with the next available version number. The tests are run by default if not deactivated in the input fields. - The tutorial scripts are executed. This is done for both
ubuntuandmacOSwith an older and newer version of Python. - Together with the scripts the notebooks themselves are build and stored
in artifact for the run with the newer Python on
ubuntu. - The generated notebooks and the other content from the
docfolder from the dune-fempy repo is pushed to themainbranch of github tutorial repositroy
- Download location: this can be either
dune,lund, orgithub. - Branches/tags: these can be provided for modules in the
coreand thefemnamespace and separately for thedune-fempyrepo itself. - Testing: this activates or deactivates running the tests in the testing repository repository.
This first syncs the github mirrors on adedner with the repos on the dune
gitlab server. This version is then tagged with the next available Python
package version available for the dune modules. After that the test tutorial action described above
is called with the source set to github, i.e, the just synced repos are
used to build the tutorial. On success the packages can be pushed to pypi and a new version
of the tutorial can be deployed.
- First the github repos are synced and tagged. By default the tag used is
determined automatically which means the next available version on
pypiis used. But a tag can be prescribed. - The
test tutorial actionis called using thegithubrepos as source - On failure the tag is removed again from the repos
On success the repositories are uploaded to the destination requested
and the
mainbranch of the github tutorial repositroy is pushed into another branch using the tag as name.
This is run every week in the night from Friday to Saturday testing the tutorial using the developer version of ufl.