21 lines
441 B
YAML
21 lines
441 B
YAML
name: .mpy file format and tools
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'examples/**'
|
|
- 'tests/**'
|
|
- '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
|