Merge pull request #9 from CMU-cabot/fix-lint-errors #7
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: Run Unittest | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
run_unittest: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install vcs | |
run: pip3 install vcstool | |
- name: Prepare thirdparty repos | |
run: ./setup-dependency.sh | |
- name: Pull images and build workspace | |
shell: bash | |
run: ./manage-docker-image.sh -a pull -i "ble_scan" -o cmucal -t ros2-dev-latest | |
- name: Build | |
shell: bash | |
run: ./build-docker.sh -w driver | |
- name: Run unittest | |
shell: bash | |
run: docker compose run --rm driver ./script/unittest.sh -a |