Add more integration testing infrastructure #245
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: checks | ||
on: | ||
- push | ||
- workflow_dispatch | ||
- pull_request | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: install apt deps | ||
run: sudo apt update && sudo apt install -y check gcc-arm-none-eabi clang-tidy | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: run unit tests | ||
run: make PLATFORM=test check | ||
- name: build hosted platform | ||
run: make PLATFORM=hosted | ||
- name: install pip deps | ||
run: ( cd py; python3 -m pip install --upgrade pip; python3 -m pip install -r requirements.txt ) | ||
- name: run hosted integration checks | ||
run: make PLATFORM=hosted integration | ||
- name: upload scenario data | ||
uses: actions/upload-artifact@v4 | ||
with: integration-test-results | ||
Check failure on line 26 in .github/workflows/checks.yaml GitHub Actions / checksInvalid workflow file
|
||
path: scenario_*.* | ||
- name: run lint | ||
run: make PLATFORM=hosted lint | ||
- name: build stm32f4 platform | ||
run: make PLATFORM=stm32f4 | ||
- name: build gd32f4 platform | ||
run: make PLATFORM=gd32f4 | ||