From 99deb5d88671fe8ca93b533edea621af4141189d Mon Sep 17 00:00:00 2001 From: disinvite Date: Tue, 12 Dec 2023 14:19:25 -0500 Subject: [PATCH] two jobs instead --- .github/workflows/analyze.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 83141969..e139b8bf 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -3,7 +3,7 @@ name: Analyze on: [push, pull_request] jobs: - decomplint: + decomplint-isle: runs-on: ubuntu-latest steps: @@ -13,11 +13,20 @@ jobs: run: | pip install -r tools/requirements.txt - - name: Lint ISLE - continue-on-error: true + - name: Run decomplint.py run: | python3 tools/decomplint/decomplint.py ISLE --module ISLE --warnfail - - name: Lint LEGO1 + decomplint-lego1: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Install python libraries run: | - python3 tools/decomplint/decomplint.py LEGO1 --module LEGO1 --warnfail \ No newline at end of file + pip install -r tools/requirements.txt + + - name: Run decomplint.py + run: | + python3 tools/decomplint/decomplint.py LEGO1 --module LEGO1 --warnfail