Skip to content

Add test workflow

Add test workflow #1

Workflow file for this run

name: Tests
on:
pull_request:
merge_group:
workflow_dispatch:
push:
branches:
- main
tags:
- "v*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: thumbv7m-none-eabi
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- run: python scripts/sync_code.py --check
- run: cargo build --release --features=stm32f103,xG
- run: python scripts/build.py --example