During CI, invoke `ci.sh` the same way we'd recommend a developer to do so locally. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
25 lines
480 B
YAML
25 lines
480 B
YAML
name: .mpy file format and tools
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'examples/**'
|
|
- 'tests/**'
|
|
- 'tools/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Install packages
|
|
run: tools/ci.sh mpy_format_setup
|
|
- name: Test mpy-tool.py
|
|
run: tools/ci.sh mpy_format_test
|