This repository contains common files used for CI across the Trustworthy Systems repositories.
For documentation on how to use the CI runner, have a look at the sDDF documentation. For internal documentation, look at the ts_ci folder.
Locally, you can run the below pip command to install ts_ci.
$ pip install git+https://github.com/au-ts/systems-ci#subdirectory=ts_ciWe provide an action.yml which will set up PYTHONPATH such that one can
import the ts_ci python package.
- name: Setup systems-ci
uses: au-ts/systems-ci@mainAlternatively, specify the path input and run source setup.sh within a
POSIX shell. This is useful for Nix usecases, where the environment is pure.
- name: Setup systems-ci
uses: au-ts/systems-ci@main
with:
path: systems-ci
- name: Build examples
run: nix develop --ignore-environment -c bash -c 'source systems-ci/setup.sh && echo hello world'
shell: bashThe CI runs a style check on any changed files and new files added in each GitHub pull request.
For helper scripts and the metaprograms (meta.py) which are written in Python,
we use black.
Running black . --required-version 25 in the root of the repository or on a
specific directory/file will run the Python style check.
Note that currently we target the 2025 styling of black.