[rtems-central commit] github: Run spec2modules.py in CI workflow
Sebastian Huber
sebh at rtems.org
Tue Jan 3 14:51:54 UTC 2023
Module: rtems-central
Branch: master
Commit: 6e116eb362f4e526ff336484e17a97ab8743c1e1
Changeset: http://git.rtems.org/rtems-central/commit/?id=6e116eb362f4e526ff336484e17a97ab8743c1e1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jan 3 15:16:18 2023 +0100
github: Run spec2modules.py in CI workflow
---
.github/workflows/ci.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7d1f602d..90f00257 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -59,3 +59,19 @@ jobs:
id: cache-virtualenv
- run: coverage run --branch -m pytest -vv rtemsspec/tests
- run: coverage report -m --fail-under=100 --include=$(echo *.py rtemsspec/*.py | sed 's/ /,/g')
+ spec2modules:
+ needs: create-virtualenv
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout at v3
+ with:
+ submodules: recursive
+ - uses: actions/setup-python at v4
+ with:
+ python-version: '3.10'
+ - uses: syphar/restore-virtualenv at v1
+ id: cache-virtualenv
+ - run: ./spec2modules.py
+ - run: cd modules/rtems && test -z "$(git status -s)"
+ - if: failure()
+ run: cd modules/rtems && git diff
More information about the vc
mailing list