2022-02-17 01:01:49 +00:00
|
|
|
name: .mpy file format and tools
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
2022-11-22 23:06:09 +00:00
|
|
|
- 'examples/**'
|
|
|
|
- 'tests/**'
|
2022-02-17 01:01:49 +00:00
|
|
|
- 'tools/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2022-11-22 23:05:54 +00:00
|
|
|
runs-on: ubuntu-20.04 # use 20.04 to get python2
|
2022-02-17 01:01:49 +00:00
|
|
|
steps:
|
2022-11-10 15:50:38 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-02-17 01:01:49 +00:00
|
|
|
- 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
|