Skip to content

Commit

Permalink
Add a weekly regresion test with different Micropython versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Sep 18, 2024
1 parent f41435e commit 05b4156
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/regression_tests.yaml
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

0 comments on commit 05b4156

Please sign in to comment.