-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a weekly regresion test with different Micropython versions (#30)
Don't know which of these will actually work.
- Loading branch information
1 parent
f41435e
commit cdffe04
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Regression Tests" | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
strategy: | ||
matrix: | ||
version: ["v1.17", "v1.18", "v1.23.0", "v1.24.0-preview"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies and local packages | ||
run: python -m pip install mpremote click | ||
- name: Install MicroPython | ||
uses: BrianPugh/install-micropython@v2 | ||
with: | ||
reference: ${{ matrix.version }} | ||
- name: Install Micropython dependencies | ||
run: micropython -m mip install unittest | ||
- name: Run tests | ||
run: python -m ci.test |