doc: Describing actions, observations and safety checks & integrate examples #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build the package and run tests, using the latest trifinger_user Apptainer | |
# image. | |
# The Apptainer image has a full ROBOT_FINGERS workspace installed, so all | |
# dependencies are there and only the checked package needs to be build, not the | |
# whole workspace. | |
# | |
# Note: The Apptainer image only gets automatically rebuild, if something in the | |
# image definition changes, not when other packages are changed. So to avoid | |
# that the workspace in the container gets outdated, manual builds need to be | |
# triggered regularly. | |
name: Build and Test | |
on: pull_request | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Setup Apptainer | |
uses: open-dynamic-robot-initiative/trifinger-build-action/setup_apptainer@v2 | |
- name: Build | |
uses: open-dynamic-robot-initiative/trifinger-build-action/build@v2 | |
- name: Tests | |
uses: open-dynamic-robot-initiative/trifinger-build-action/run_tests@v2 |