Skip to content

C3 & GPS Remaster

C3 & GPS Remaster #62

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y shellcheck device-tree-compiler
- name: Shellcheck scripts
run: |
# All shell scripts that aren't in submodules
find -type f -name '*.sh' \
-not -path './device_trees/BeagleBoard-DeviceTrees/*' \
-not -path './image_builder/image-builder/*' \
-not -path './image_builder/u-boot/*' \
| xargs shellcheck
- name: Build device trees
run: |
make -C device_trees
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
- name: Install Python dependencies
working-directory: ./octavo_eeprom_flasher
run: |
python -m pip install --upgrade pip
python -m pip install . --group dev
- name: Run Python lints
working-directory: ./octavo_eeprom_flasher
run: |
ruff check
ruff format --check --diff
mypy eeprom.py