General documentation refinements.

This commit is contained in:
Patrick Lehmann
2022-11-02 01:53:57 +01:00
parent be1eaa4de4
commit 4aa82d16d3
15 changed files with 367 additions and 227 deletions

View File

@@ -3,3 +3,31 @@
with-post-step with-post-step
############## ##############
JavaScript Actions support defining ``pre``, ``pre-if``, ``post`` and ``post-if`` steps, which allow executing steps at
the beginning or the end of a job, regardless of intermediate steps failing. Unfortunately, those are not available for
any other Action type.
Action **with-post-step** is a generic JavaScript Action to execute a main command and to set a further command as a
post step. It allows using the ``post`` feature with scripts written in Bash, Python or any other interpreted language
available on the environment.
**Example Usage:**
.. code-block:: yaml
jobs:
Image:
steps:
- ...
- name: Push container image
uses: ./with-post-step
with:
main: |
echo '${{ github.token }}' | docker login ghcr.io -u GitHub-Actions --password-stdin
docker push ghcr.io/pytooling/releaser
post: docker logout ghcr.io
.. seealso::
* `actions/runner#1478 <https://github.com/actions/runner/issues/1478>`__.

View File

@@ -1,4 +1,7 @@
Overview Overview
######## ########
The following 2 actions are provided by **Actions**:
* :ref:`ACTION/Releaser`
* :ref:`ACTION/WithPostStep`

View File

@@ -35,8 +35,6 @@ The simplest variant just uses the artifact name for the package.
Complex Example Complex Example
=============== ===============
.. code-block:: yaml .. code-block:: yaml
jobs: jobs:
@@ -61,24 +59,26 @@ Parameters
package package
======= =======
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| package | yes | string | — — — — |
+----------------+----------+----------+----------+
Artifacts to be removed on not tagged runs. Artifacts to be removed on not tagged runs.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| yes | string | — — — — |
+----------+----------+----------+
remaining remaining
========= =========
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| remaining | optional | string | ``""`` |
+----------------+----------+----------+----------+
Artifacts to be removed unconditionally. Artifacts to be removed unconditionally.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``""`` |
+----------+----------+----------+
Secrets Secrets
******* *******

View File

@@ -52,13 +52,14 @@ Parameters
artifact artifact
======== ========
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| artifact | yes | string | — — — — |
+----------------+----------+----------+--------------+
Name of the documentation artifact. Name of the documentation artifact.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Secrets Secrets
******* *******

View File

@@ -80,73 +80,74 @@ Parameters
python_version python_version
============== ==============
Python version used for running unit tests. +----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| python_version | optional | string | 3.11 |
+----------------+----------+----------+----------+
+----------+----------+----------+ Python version used for running unit tests.
| Required | Type | Default |
+==========+==========+==========+
| optional | string | 3.11 |
+----------+----------+----------+
requirements requirements
============ ============
Python dependencies to be installed through pip. +----------------+----------+----------+-------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+===============================+
| requirements | optional | string | ``-r tests/requirements.txt`` |
+----------------+----------+----------+-------------------------------+
+----------+----------+-------------------------------+ Python dependencies to be installed through pip.
| Required | Type | Default |
+==========+==========+===============================+
| optional | string | ``-r tests/requirements.txt`` |
+----------+----------+-------------------------------+
tests_directory tests_directory
=============== ===============
Path to the directory containing tests (test working directory). +-----------------+----------+----------+-----------+
| Parameter Name | Required | Type | Default |
+=================+==========+==========+===========+
| tests_directory | optional | string | ``tests`` |
+-----------------+----------+----------+-----------+
+----------+----------+-----------+ Path to the directory containing tests (test working directory).
| Required | Type | Default |
+==========+==========+===========+
| optional | string | ``tests`` |
+----------+----------+-----------+
unittest_directory unittest_directory
================== ==================
Path to the directory containing unit tests (relative to test_directory). +--------------------+----------+----------+-----------+
| Parameter Name | Required | Type | Default |
+====================+==========+==========+===========+
| unittest_directory | optional | string | ``unit`` |
+--------------------+----------+----------+-----------+
+----------+----------+-----------+ Path to the directory containing unit tests (relative to test_directory).
| Required | Type | Default |
+==========+==========+===========+
| optional | string | ``unit`` |
+----------+----------+-----------+
coverage_config coverage_config
=============== ===============
Path to the ``.coveragerc`` file. Use ``pyproject.toml`` by default. +-----------------+----------+----------+--------------------+
| Parameter Name | Required | Type | Default |
+=================+==========+==========+====================+
| coverage_config | optional | string | ``pyproject.toml`` |
+-----------------+----------+----------+--------------------+
+----------+----------+--------------------+ Path to the ``.coveragerc`` file. Use ``pyproject.toml`` by default.
| Required | Type | Default |
+==========+==========+====================+
| optional | string | ``pyproject.toml`` |
+----------+----------+--------------------+
artifact artifact
======== ========
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| artifact | yes | string | — — — — |
+----------------+----------+----------+--------------+
Name of the coverage artifact. Name of the coverage artifact.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Secrets Secrets
******* *******
@@ -154,13 +155,13 @@ Secrets
codacy_token codacy_token
============ ============
Token to push result to codacy. +----------------+----------+----------+--------------+
| Secret Name | Required | Type | Default |
+================+==========+==========+==============+
| codacy_token | yes | string | — — — — |
+----------------+----------+----------+--------------+
+----------+----------+--------------+ Token to push result to codacy.
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Results Results

View File

@@ -41,7 +41,6 @@ Simple Example
Complex Example Complex Example
=============== ===============
.. code-block:: yaml .. code-block:: yaml
jobs: jobs:
@@ -62,41 +61,45 @@ Parameters
python_version python_version
============== ==============
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| python_version | optional | string | 3.11 |
+----------------+----------+----------+----------+
Python version. Python version.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| optional | string | 3.11 |
+----------+----------+----------+
requirements requirements
============ ============
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| requirements | optional | string | ``""`` |
+----------------+----------+----------+----------+
Python dependencies to be installed through pip; if empty, use pyproject.toml through build. Python dependencies to be installed through pip; if empty, use pyproject.toml through build.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``""`` |
+----------+----------+----------+
artifact artifact
======== ========
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| artifact | yes | string | — — — — |
+----------------+----------+----------+----------+
Name of the package artifact. Name of the package artifact.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| yes | string | — — — — |
+----------+----------+----------+
Secrets Secrets
******* *******
This job template needs no secrets. This job template needs no secrets.
Results Results
******* *******

View File

@@ -105,87 +105,147 @@ over resulting in the following combinations:
Parameters Parameters
********** **********
Name name
==== ====
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| name | yes | string | — — — — |
+----------------+----------+----------+--------------+
The name of the library or package. The name of the library or package.
It's used to create artifact names. It's used to create artifact names.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
python_version python_version
============== ==============
Python version. +----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| python_version | optional | string | ``3.11`` |
+----------------+----------+----------+----------+
Python version to be used for all jobs requiring a single Python version.
+----------+----------+----------+
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``3.11`` |
+----------+----------+----------+
python_version_list python_version_list
=================== ===================
Space separated list of Python versions to run tests with. +----------------------+----------+----------+---------------------------+
| Parameter Name | Required | Type | Default |
+======================+==========+==========+===========================+
| python_version_list | optional | string | ``3.7 3.8 3.9 3.10 3.11`` |
+----------------------+----------+----------+---------------------------+
Possible values: Space separated list of CPython versions and/or mypy version to run tests with.
* ``3.6`` (outdated), ``3.7``, ..., ``3.11``, ``3.12`` **Possible values:**
* ``3.6``, ``3.7``, ``3.8``, ``3.9``, ``3.10`` , ``3.11``, ``3.12``
* ``pypy-3.7``, ``pypy-3.8``, ``pypy-3.9`` * ``pypy-3.7``, ``pypy-3.8``, ``pypy-3.9``
For ``3.12``, Python 3.12 alpha will be used. +------+-----------+------------------+-----------------------------------------+
| Icon | Version | Maintained until | Comments |
+----------+----------+---------------------------+ +======+===========+==================+=========================================+
| Required | Type | Default | | ⚫ | 3.6 | 2021.12.23 | :red:`outdated` |
+==========+==========+===========================+ +------+-----------+------------------+-----------------------------------------+
| optional | string | ``3.7 3.8 3.9 3.10 3.11`` | | 🔴 | 3.7 | 2023.06.27 | |
+----------+----------+---------------------------+ +------+-----------+------------------+-----------------------------------------+
| 🟠 | 3.8 | 2024.10 | |
+------+-----------+------------------+-----------------------------------------+
| 🟡 | 3.9 | 2025.10 | |
+------+-----------+------------------+-----------------------------------------+
| 🟢 | 3.10 | 2026.10 | |
+------+-----------+------------------+-----------------------------------------+
| 🟢 | 3.11 | 2027.10 | :green:`latest` |
+------+-----------+------------------+-----------------------------------------+
| 🟣 | 3.12 | 2028.10 | Python 3.12 alpha (or RC) will be used. |
+------+-----------+------------------+-----------------------------------------+
| ⟲🔴 | pypy-3.7 | ????.?? | |
+------+-----------+------------------+-----------------------------------------+
| ⟲🟠 | pypy-3.8 | ????.?? | |
+------+-----------+------------------+-----------------------------------------+
| ⟲🟡 | pypy-3.9 | ????.?? | |
+------+-----------+------------------+-----------------------------------------+
system_list system_list
=========== ===========
+----------------+----------+----------+----------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==================================+
| system_list | optional | string | ``ubuntu windows mingw64 macos`` |
+----------------+----------+----------+----------------------------------+
Space separated list of systems to run tests on. Space separated list of systems to run tests on.
Possible values: **Possible values:**
* Native systems: ``ubuntu``, ``windows``, ``macos`` * Native systems: ``ubuntu``, ``windows``, ``macos``
* MSYS2: ``msys``, ``mingw32``, ``mingw64``, ``clang32``, ``clang64``, ``ucrt64`` * MSYS2: ``msys``, ``mingw32``, ``mingw64``, ``clang32``, ``clang64``, ``ucrt64``
+----------+----------+----------------------------------+ +------+-----------+------------------------------+-----------------------------------------------------------------+
| Required | Type | Default | | Icon | System | Used version | Comments |
+==========+==========+==================================+ +======+===========+==============================+=================================================================+
| optional | string | ``ubuntu windows mingw64 macos`` | | 🧊 | Windows | Windows Server 2022 (latest) | |
+----------+----------+----------------------------------+ +------+-----------+------------------------------+-----------------------------------------------------------------+
| 🐧 | Ubuntu | Ubuntu 20.04 (LTS) (latest) | While this marked latest, Ubuntu 22.02 LTS is already provided. |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🍎 | MacOS | macOS Big Sur 11 (latest) | While this marked latest, macOS Monterey 12 is already provided.|
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🟪 | MSYS | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| ⬛ | MinGW32 | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🟦 | MinGW64 | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🟫 | Clang32 | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🟧 | Clang64 | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
| 🟨 | UCRT64 | | |
+------+-----------+------------------------------+-----------------------------------------------------------------+
include_list include_list
============ ============
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| include_list | optional | string | ``""`` |
+----------------+----------+----------+----------+
Space separated list of ``system:python`` items to be included into the list of test. Space separated list of ``system:python`` items to be included into the list of test.
+----------+----------+----------+ **Example:**
| Required | Type | Default |
+==========+==========+==========+ .. code-block:: yaml
| optional | string | ``""`` |
+----------+----------+----------+ include_list: "ubuntu:3.11 macos:3.11"
exclude_list exclude_list
============ ============
+----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| exclude_list | optional | string | ``""`` |
+----------------+----------+----------+----------+
Space separated list of ``system:python`` items to be excluded from the list of test. Space separated list of ``system:python`` items to be excluded from the list of test.
+----------+----------+----------+ **Example:**
| Required | Type | Default |
+==========+==========+==========+ .. code-block:: yaml
| optional | string | ``""`` |
+----------+----------+----------+ exclude_list: "windows:pypy-3.8 windows:pypy-3.9"
Secrets Secrets
******* *******

View File

@@ -78,43 +78,45 @@ by that job. Finally, the list of requirements is overwritten to load a list of
secrets: secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Parameters Parameters
********** **********
python_version python_version
============== ==============
Python version used for uploading the package contents via `twine` to PyPI. +----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| python_version | optional | string | ``3.11`` |
+----------------+----------+----------+----------+
+----------+----------+----------+ Python version used for uploading the package contents via `twine` to PyPI.
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``3.11`` |
+----------+----------+----------+
requirements requirements
============ ============
List of requirements to be installed for uploading the package contents to PyPI. +----------------+----------+----------+-----------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================+
| requirements | optional | string | ``wheel twine`` |
+----------------+----------+----------+-----------------+
+----------+----------+-----------------+ List of requirements to be installed for uploading the package contents to PyPI.
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``wheel twine`` |
+----------+----------+-----------------+
artifact artifact
======== ========
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| artifact | yes | string | — — — — |
+----------------+----------+----------+--------------+
Name of the artifact containing the package(s). Name of the artifact containing the package(s).
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Secrets Secrets
******* *******
@@ -122,13 +124,14 @@ Secrets
PYPI_TOKEN PYPI_TOKEN
========== ==========
+----------------+----------+----------+--------------+
| Secret Name | Required | Type | Default |
+================+==========+==========+==============+
| PYPI_TOKEN | yes | string | — — — — |
+----------------+----------+----------+--------------+
The token to access the package at PyPI for uploading new data. The token to access the package at PyPI for uploading new data.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Results Results
******* *******

View File

@@ -54,12 +54,19 @@ Complex Example
- CodeCoverage - CodeCoverage
- UnitTesting - UnitTesting
Parameters Parameters
********** **********
report_files report_files
============ ============
+----------------+----------+----------+---------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================================+
| report_files | optional | string | ``artifacts/**/*.xml`` |
+----------------+----------+----------+---------------------------------+
Pattern of jUnit report files to publish as Markdown. Pattern of jUnit report files to publish as Markdown.
The parameter can be a comma separated list. Wildcards are supported. The parameter can be a comma separated list. Wildcards are supported.
@@ -69,12 +76,6 @@ The parameter can be a comma separated list. Wildcards are supported.
All artifacts are downloaded into directory ``artifacts``, thus the pattern should include this directory as a All artifacts are downloaded into directory ``artifacts``, thus the pattern should include this directory as a
prefix. prefix.
+----------+----------+---------------------------------+
| Required | Type | Default |
+==========+==========+=================================+
| optional | string | ``artifacts/**/*.xml`` |
+----------+----------+---------------------------------+
Secrets Secrets
******* *******

View File

@@ -54,42 +54,45 @@ Complex Example
coverage: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }} coverage: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
typing: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }} typing: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
Parameters Parameters
********** **********
doc doc
=== ===
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| doc | yes | string | — — — — |
+----------------+----------+----------+--------------+
Name of the documentation artifact. Name of the documentation artifact.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
coverage coverage
======== ========
Name of the coverage artifact. +----------------+----------+----------+-----------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================+
| coverage | optional | string | ``""`` |
+----------------+----------+----------+-----------------+
+----------+----------+-----------------+ Name of the coverage artifact.
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``""`` |
+----------+----------+-----------------+
typing typing
====== ======
+----------------+----------+----------+-----------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================+
| typing | optional | string | ``""`` |
+----------------+----------+----------+-----------------+
Name of the typing artifact. Name of the typing artifact.
+----------+----------+-----------------+
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``""`` |
+----------+----------+-----------------+
Secrets Secrets

View File

@@ -54,16 +54,19 @@ Complex Example
needs: needs:
- Package - Package
Parameters Parameters
********** **********
This job template needs no input parameters. This job template needs no input parameters.
Secrets Secrets
******* *******
This job template needs no secrets. This job template needs no secrets.
Results Results
******* *******

View File

@@ -89,66 +89,69 @@ Parameters
python_version python_version
============== ==============
Python version. +----------------+----------+----------+-----------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================+
| python_version | optional | string | ``3.11`` |
+----------------+----------+----------+-----------------+
+----------+----------+-----------------+ Python version.
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``3.11`` |
+----------+----------+-----------------+
requirements requirements
============ ============
Python dependencies to be installed through pip. +----------------+----------+----------+-------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+===============================+
| requirements | optional | string | ``-r tests/requirements.txt`` |
+----------------+----------+----------+-------------------------------+
+----------+----------+-------------------------------+ Python dependencies to be installed through pip.
| Required | Type | Default |
+==========+==========+===============================+
| optional | string | ``-r tests/requirements.txt`` |
+----------+----------+-------------------------------+
report report
====== ======
Directory to upload as an artifact. +----------------+----------+----------+-----------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================+
| report | optional | string | ``htmlmypy`` |
+----------------+----------+----------+-----------------+
+----------+----------+-----------------+ Directory to upload as an artifact.
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``htmlmypy`` |
+----------+----------+-----------------+
commands commands
======== ========
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| commands | yes | string | — — — — |
+----------------+----------+----------+--------------+
Commands to run the static type checks. Commands to run the static type checks.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
artifact artifact
======== ========
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| artifact | yes | string | — — — — |
+----------------+----------+----------+--------------+
Name of the typing artifact. Name of the typing artifact.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
Secrets Secrets
******* *******
This job template needs no secrets. This job template needs no secrets.
Results Results
******* *******

View File

@@ -56,36 +56,37 @@ Parameters
jobs jobs
==== ====
+----------------+----------+----------+--------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==============+
| jobs | yes | string | — — — — |
+----------------+----------+----------+--------------+
JSON list with environment fields, telling the system and Python versions to run tests with. JSON list with environment fields, telling the system and Python versions to run tests with.
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
requirements requirements
============ ============
Python dependencies to be installed through pip. +----------------+----------+----------+---------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================================+
| requirements | optional | string | ``-r tests/requirements.txt`` |
+----------------+----------+----------+---------------------------------+
+----------+----------+---------------------------------+ Python dependencies to be installed through pip.
| Required | Type | Default |
+==========+==========+=================================+
| optional | string | ``-r tests/requirements.txt`` |
+----------+----------+---------------------------------+
pacboy pacboy
====== ======
MSYS2 dependencies to be installed through pacboy (pacman). +----------------+----------+----------+-----------------------------------------------------------------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+=================================================================+
| pacboy | optional | string | ``python-pip:p python-wheel:p python-coverage:p python-lxml:p`` |
+----------------+----------+----------+-----------------------------------------------------------------+
+----------+----------+-----------------------------------------------------------------+ MSYS2 dependencies to be installed through pacboy (pacman).
| Required | Type | Default |
+==========+==========+=================================================================+
| optional | string | ``python-pip:p python-wheel:p python-coverage:p python-lxml:p`` |
+----------+----------+-----------------------------------------------------------------+
.. code-block:: yaml .. code-block:: yaml
@@ -99,49 +100,49 @@ MSYS2 dependencies to be installed through pacboy (pacman).
mingw_requirements mingw_requirements
================== ==================
Override Python dependencies to be installed through pip on MSYS2 (MINGW64) only. +--------------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+====================+==========+==========+==========+
| mingw_requirements | optional | string | ``""`` |
+--------------------+----------+----------+----------+
+----------+----------+----------+ Override Python dependencies to be installed through pip on MSYS2 (MINGW64) only.
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``""`` |
+----------+----------+----------+
tests_directory tests_directory
=============== ===============
Path to the directory containing tests (test working directory). +-----------------+----------+----------+-----------+
| Parameter Name | Required | Type | Default |
+=================+==========+==========+===========+
| tests_directory | optional | string | ``tests`` |
+-----------------+----------+----------+-----------+
+----------+----------+-----------+ Path to the directory containing tests (test working directory).
| Required | Type | Default |
+==========+==========+===========+
| optional | string | ``tests`` |
+----------+----------+-----------+
unittest_directory unittest_directory
================== ==================
Path to the directory containing unit tests (relative to tests_directory). +--------------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+====================+==========+==========+==========+
| unittest_directory | optional | string | ``unit`` |
+--------------------+----------+----------+----------+
+----------+----------+----------+ Path to the directory containing unit tests (relative to tests_directory).
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``unit`` |
+----------+----------+----------+
artifact artifact
======== ========
Generate unit test report with junitxml and upload results as an artifact. +----------------+----------+----------+----------+
| Parameter Name | Required | Type | Default |
+================+==========+==========+==========+
| artifact | optional | string | ``""`` |
+----------------+----------+----------+----------+
+----------+----------+----------+ Generate unit test report with junitxml and upload results as an artifact.
| Required | Type | Default |
+==========+==========+==========+
| optional | string | ``""`` |
+----------+----------+----------+
Secrets Secrets
@@ -149,6 +150,7 @@ Secrets
This job template needs no secrets. This job template needs no secrets.
Results Results
******* *******

View File

@@ -17,7 +17,37 @@ Versions
Branches Branches
******** ********
.. todo:: Releases:Branches Needs documentation. .. mermaid::
%%{init: { 'logLevel': 'debug', 'theme': 'neutral', 'gitGraph': {'rotateCommitLabel': false} } }%%
gitGraph
commit id: "-"
branch dev
commit id: "B"
commit id: "C"
checkout main
merge dev tag: "v0.4.0"
checkout dev
commit id: "D"
commit id: "E"
commit id: "F"
checkout main
merge dev tag: "v0.5.0"
``dev``
=======
Development is done on branch ``dev``.
All merge requests need to target this branch.
``main``
========
Finished development is merged to branch ``main``.
Each merge-commit is tagged with a semantic version.
Tagging Tagging
******* *******

View File

@@ -175,5 +175,4 @@ License
License License
Doc-License Doc-License
genindex
TODO TODO