New interfaces for DRVEGRD 152 and 169 #107
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
name: Build and test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Get the Smart Access binaries | |
run: echo "yes" | ./smart_extract.sh | |
- name: Build the docker container | |
run: docker build . -t umrr-ros:latest | |
- name: Building the driver with the docker container | |
run: docker run --rm -v`pwd`:/code umrr-ros colcon build | |
- name: Running the unit/integration tests via the docker container and exit | |
run: docker-compose up | |
- name: Getting the test coverage | |
run: docker run --rm -v`pwd`:/code umrr-ros colcon test-result --all --verbose | |
- name: Shut down docker containers and networks | |
run: docker-compose down |