summaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-02-17 12:01:49 +1100
committerDamien George <damien@micropython.org>2022-02-24 18:29:02 +1100
commit73a1927fce29f461945708675b82bd3d29f9f568 (patch)
tree0c8e89d99322b4de4a33113323c9b1394d97c1c6 /.github
parentc0f2af4e862a9bb80e401894bad30378dbeac85e (diff)
downloadmicropython-73a1927fce29f461945708675b82bd3d29f9f568.tar.gz
micropython-73a1927fce29f461945708675b82bd3d29f9f568.zip
github/workflows: Add new workflow to test .mpy file format and tools.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mpy_format.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/mpy_format.yml b/.github/workflows/mpy_format.yml
new file mode 100644
index 0000000000..ab90bb339a
--- /dev/null
+++ b/.github/workflows/mpy_format.yml
@@ -0,0 +1,18 @@
+name: .mpy file format and tools
+
+on:
+ push:
+ pull_request:
+ paths:
+ - '.github/workflows/*.yml'
+ - 'tools/**'
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - 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