mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Python 2 is no longer included in the latest Ubuntu 22.04. Signed-off-by: Damien George <damien@micropython.org>
19 lines
400 B
YAML
19 lines
400 B
YAML
name: .mpy file format and tools
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'tools/**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04 # use 20.04 to get python2
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install packages
|
|
run: source tools/ci.sh && ci_mpy_format_setup
|
|
- name: Test mpy-tool.py
|
|
run: source tools/ci.sh && ci_mpy_format_test
|