Hardware tests for ICOtronic system
Project description
ICOtest
Install
Poetry
We recommend you use Poetry to install the package. To do that please use the following commands in the root of the repository:
poetry lock
poetry install --all-extras
Pip
To install the package
- in development/editable mode
- including development (
dev) packages
please use the following command in the root of the repository:
pip install -e .[dev]
Uninstall
pip uninstall icotest
Tests
To run the test, please use the following command in the root of the repository:
pytest # or `poetry run pytest`
Configuration
-
Open the configuration file in your default text editor:
icotest config # or `poetry run icotest config`
-
Adapt the configuration
Debug
To enable the output of log messages in the code, please add the following config settings:
[tool.pytest.ini_options]
# Add the values below:
log_cli = true
log_cli_level = "INFO"
to pyproject.toml. The value besides log_cli_level is the minimum level of log messages, that will be displayed by the test code. For the value INFO, all log messages with level INFO or higher (e.g. logger.info, logger.warning, logger.error) will be included in the output.
Development
Release
Note: In the text below we assume that you want to release version <VERSION> of the package. Please just replace this version number with the version that you want to release (e.g. 0.2).
-
Make sure that all the checks and tests work correctly locally
make
-
Make sure all workflows of the CI system work correctly
-
Release a new version on PyPI:
- Increase version number
- Add git tag containing version number
- Push changes
poetry version <VERSION> export icotest_version="$(poetry version -s)" git commit -a -m "Release: Release version $icotest_version" git tag "$icotest_version" git push && git push --tags
-
Open the release notes for the latest version and create a new release
- Paste them into the main text of the release web page
- Insert the version number into the tag field
- For the release title use “Version ”, where
<VERSION>specifies the version number (e.g. “Version 0.2”) - Click on “Publish Release”
Note: Alternatively you can also use the
ghcommand:gh release create
to create the release notes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icotest-0.1.0a2.tar.gz.
File metadata
- Download URL: icotest-0.1.0a2.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a92c601c0f63bbbf2aafa930e1dbe4f883a241a022f2f31f6ec70974e761951
|
|
| MD5 |
dd57a23ab19e8721a47e8562a7784c88
|
|
| BLAKE2b-256 |
92cc9b192249b2ed6cf74460f8a5510d7591d27da9ee1f77f43c15e2a9e9db13
|
Provenance
The following attestation bundles were made for icotest-0.1.0a2.tar.gz:
Publisher:
publish.yaml on MyTooliT/ICOtest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
icotest-0.1.0a2.tar.gz -
Subject digest:
0a92c601c0f63bbbf2aafa930e1dbe4f883a241a022f2f31f6ec70974e761951 - Sigstore transparency entry: 586888498
- Sigstore integration time:
-
Permalink:
MyTooliT/ICOtest@0b5d1fe346f9e1aec1b781c2e685915a3daf0c39 -
Branch / Tag:
refs/tags/0.1.0-alpha.2 - Owner: https://github.com/MyTooliT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@0b5d1fe346f9e1aec1b781c2e685915a3daf0c39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file icotest-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: icotest-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efb8f325e24a78391bae6275973f7d0d91accded25b6f334ec139689e733ee02
|
|
| MD5 |
9dae187c744b05e7997fe4d559d30867
|
|
| BLAKE2b-256 |
e1cb4aad114cac14622a2be03860e5b5f9c7cf52bc98ac32526765139065c97c
|
Provenance
The following attestation bundles were made for icotest-0.1.0a2-py3-none-any.whl:
Publisher:
publish.yaml on MyTooliT/ICOtest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
icotest-0.1.0a2-py3-none-any.whl -
Subject digest:
efb8f325e24a78391bae6275973f7d0d91accded25b6f334ec139689e733ee02 - Sigstore transparency entry: 586888504
- Sigstore integration time:
-
Permalink:
MyTooliT/ICOtest@0b5d1fe346f9e1aec1b781c2e685915a3daf0c39 -
Branch / Tag:
refs/tags/0.1.0-alpha.2 - Owner: https://github.com/MyTooliT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@0b5d1fe346f9e1aec1b781c2e685915a3daf0c39 -
Trigger Event:
push
-
Statement type: