diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-01-03 15:16:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebhub@gmail.com> | 2023-01-03 16:05:04 +0100 |
commit | 6e116eb362f4e526ff336484e17a97ab8743c1e1 (patch) | |
tree | 2daca46e2f4709ad6786d97132c49714cd629c0d | |
parent | modules: Update rtems (diff) | |
download | rtems-central-6e116eb362f4e526ff336484e17a97ab8743c1e1.tar.bz2 |
github: Run spec2modules.py in CI workflow
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
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@v3 + with: + submodules: recursive + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - uses: syphar/restore-virtualenv@v1 + id: cache-virtualenv + - run: ./spec2modules.py + - run: cd modules/rtems && test -z "$(git status -s)" + - if: failure() + run: cd modules/rtems && git diff |