@@ -203,37 +203,35 @@ jobs:
203203 chmod +x ./etc/scripts/set_copyright_year.sh
204204 ./etc/scripts/set_copyright_year.sh --check
205205
206- # Todo: reset when the compliance-tool was updated (#485)
206+ compliance-tool-test :
207+ # This job runs the unittests on the python versions specified down at the matrix
208+ runs-on : ubuntu-latest
209+ strategy :
210+ matrix :
211+ python-version : ["3.10", "3.12"]
212+ defaults :
213+ run :
214+ working-directory : ./compliance_tool
207215
208- # compliance-tool-test:
209- # # This job runs the unittests on the python versions specified down at the matrix
210- # runs-on: ubuntu-latest
211- # strategy:
212- # matrix:
213- # python-version: ["3.10", "3.12"]
214- # defaults:
215- # run:
216- # working-directory: ./compliance_tool
217- #
218- # steps:
219- # - uses: actions/checkout@v4
220- # - name: Set up Python ${{ matrix.python-version }}
221- # uses: actions/setup-python@v5
222- # with:
223- # python-version: ${{ matrix.python-version }}
224- # - name: Install Python dependencies
225- # # install the local sdk in editable mode so it does not get overwritten
226- # run: |
227- # python -m pip install --upgrade pip
228- # python -m pip install ../sdk
229- # python -m pip install .[dev]
230- # - name: Test with coverage + unittest
231- # run: |
232- # python -m coverage run --source=aas_compliance_tool -m unittest
233- # - name: Report test coverage
234- # if: ${{ always() }}
235- # run: |
236- # python -m coverage report -m
216+ steps :
217+ - uses : actions/checkout@v4
218+ - name : Set up Python ${{ matrix.python-version }}
219+ uses : actions/setup-python@v5
220+ with :
221+ python-version : ${{ matrix.python-version }}
222+ - name : Install Python dependencies
223+ # install the local sdk in editable mode so it does not get overwritten
224+ run : |
225+ python -m pip install --upgrade pip
226+ python -m pip install ../sdk
227+ python -m pip install .[dev]
228+ - name : Test with coverage + unittest
229+ run : |
230+ python -m coverage run --source=aas_compliance_tool -m unittest
231+ - name : Report test coverage
232+ if : ${{ always() }}
233+ run : |
234+ python -m coverage report -m
237235
238236 compliance-tool-static-analysis :
239237 # This job runs static code analysis, namely pycodestyle and mypy
0 commit comments