isle-portable/.github/workflows/analyze.yml
Christian Semmler 3b155bfe38
(Discussion/Proposals) Consistency regarding annotations of header-implemented functions (#316)
* Open discussion

* Move annotations of header-implemented functions back to `.h` files

* Adjust `README.md`

* Relocate annotation

* linter

* Comment markers in headers only, rename script, update github actions

* type hint compat

* Rename github action, better argparse for linter

* Type hints, working test for byname ignore

* Move annotation

* CI rename and enable warnfail, enforce mode always on

* Two step linting

* or one step

* continue on error

* two jobs instead

* Fixes

---------

Co-authored-by: disinvite <disinvite@users.noreply.github.com>
2023-12-12 20:27:17 +01:00

32 lines
667 B
YAML

name: Analyze
on: [push, pull_request]
jobs:
decomplint-isle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python libraries
run: |
pip install -r tools/requirements.txt
- name: Run decomplint.py
run: |
python3 tools/decomplint/decomplint.py ISLE --module ISLE --warnfail
decomplint-lego1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python libraries
run: |
pip install -r tools/requirements.txt
- name: Run decomplint.py
run: |
python3 tools/decomplint/decomplint.py LEGO1 --module LEGO1 --warnfail