Merge pull request #12 from hytech-racing/testing_and_documenting #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
name: PlatformIO CI | |
on: [push, pull_request] | |
jobs: | |
run_build_and_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install PlatformIO CLI | |
run: pip install platformio | |
- name: Run PlatformIO build for teensy | |
run: pio run -e teensy41 | |
- name: Run Tests | |
run: pio test -e test_env |