This repository has been archived by the owner on May 22, 2024. It is now read-only.
README.md: update #19
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
# SPDX-FileCopyrightText: 2023 Junde Yhi <junde@yhi.moe> | |
# SPDX-License-Identifier: CC0-1.0 | |
name: PlatformIO | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
check: | |
name: Static Code Analysis | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
- name: Set Up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install PlatformIO Core | |
run: pip install platformio | |
- name: Run PlatformIO Check | |
run: platformio check | |
test: | |
name: Unit Testing | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
- name: Set Up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install PlatformIO Core | |
run: pip install platformio | |
- name: Run PlatformIO Test | |
run: platformio test |