Skip to content

Commit

Permalink
add validate actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed May 21, 2024
1 parent c1b45af commit 055a025
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,20 @@ jobs:
dependencies: SpiNNUtils SpiNNMachine
install: true

- name: Validation actions
if: {{ matrix.checks == 'validate' }}
uses: ./support/actions/validate

- name: Unittests and style checks
if: ${{ matrix.checks == 'full' || matrix.checks == 'validate' }}
uses: ./support/actions/test-and-check
with:
python-version: ${{ matrix.python-version }}
cover-packages: $ROOT_PKG
tests: unittests
cover-packages: spinnman
coveralls-token: ${{ secrets.GITHUB_TOKEN }}
pylint_package: $ROOT_PKG unittests
flake8_packages: spinnman unittests
pylint_package: spinnman unittests

- name: Simple pytest
if: ${{ matrix.checks == 'tests'}}
Expand All @@ -99,4 +105,3 @@ jobs:
run: |
pytest unittests
pytest spinnman_integration_tests

0 comments on commit 055a025

Please sign in to comment.