refactor: replace test.py with run_tests.py for improved test execution #17
This file contains hidden or 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: MicroPython Test | |
| on: [push, pull_request] | |
| jobs: | |
| code-coverage: | |
| name: MicroPython Test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Install MicroPython | |
| uses: BrianPugh/install-micropython@v2 | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| micropython -m mip install unittest | |
| - name: Test MicroPython | |
| run: | | |
| micropython tests_micropython/run_tests.py |