Skip to content

Commit

Permalink
merge: Add model complexity badge action
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuestengecko committed Sep 20, 2024
2 parents e7ca35a + e3874fe commit f16fc06
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
run: python -m pip install pre-commit
- name: Run Pre-Commit
run: pre-commit run --all-files

complexity-badge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DSD-DBS/py-capellambse/ci-templates/github/model-complexity-badge@master
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ This repo contains the "In-Flight Entertainment System" sample model,
originally maintained by the Capella developers at
<https://github.com/eclipse-capella/capella/tree/master/samples/In-Flight%20Entertainment%20System>.

Model complexity
----------------
![model complexity](./model-complexity-badge.svg)

This repo also contains some adjustments to the model as well as additional
configuration to showcase some features of
[py-capellambse](https://github.com/DSD-DBS/py-capellambse).
Expand Down
38 changes: 38 additions & 0 deletions model-complexity-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f16fc06

Please sign in to comment.