RSDK-8017: linting action #5
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 lint & unit tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: "Run unit tests" | |
runs-on: [buildjet-2vcpu-ubuntu-2204-arm] | |
container: | |
image: ghcr.io/viamrobotics/ocean-prefilter:arm64 | |
options: --platform linux/arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run lint | |
run: | | |
make lint | |
- name: Run unit tests | |
run: make test |