An action to test actions. It's the least an action can do: it accepts a file as input and writes the same file as output, with a configurable suffix (".bak" by default) before the final suffix.
actions:
generate_study_population:
...
outputs:
highly_sensitive:
cohort: output/input.csv
my_minimal_action:
run: minimal-action:latest output/input.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input.bak.csv
It is a dependency of the job-runner integration tests.
Let's not get carried away, minimal-action should be minimal. If you must, then...
Create and activate a new virtual environment:
python3 -m venv .venv
source .venv/bin/activate
Install pip-tools
and sync:
pip install pip-tools
pip-sync
black
, flake8
, and isort
are available:
black .
flake8 .
isort .
Simply tag a commit with bump2version
:
bump2version minor
Don't forget to git push --tags
.