23 lines
724 B
YAML
23 lines
724 B
YAML
name: Check instruction packages
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: python -m unittest discover -s tests -v
|
|
- run: python -m tools.packages check packages/planner-scope
|
|
- run: python -m tools.packages check examples/starter-planner
|
|
- run: python -m tools.packages pack packages/planner-scope dist/planner-scope.zip
|
|
- run: python -m tools.packages pack examples/starter-planner dist/starter-planner.zip
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: instruction-packages
|
|
path: dist/*.zip
|