From 3b738fde95ca7b0defc235c279dfb4a46b9b9e3b Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 29 May 2024 10:52:28 +0100 Subject: [PATCH] ./actions --- .github/workflows/python_checks.yml | 38 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/python_checks.yml b/.github/workflows/python_checks.yml index 52f7537..884a7b4 100644 --- a/.github/workflows/python_checks.yml +++ b/.github/workflows/python_checks.yml @@ -79,38 +79,38 @@ jobs: uses: actions/checkout@v4 - name: Install pip, etc - uses: SpiNNakerManchester/SupportScripts/actions/python-tools@nested + uses: .actions/python-tools - name: Install mypy run: pip install mypy - name: Install Spinnaker Dependencies - uses: SpiNNakerManchester/SupportScripts/actions/install-spinn-deps@main + uses: ./actions/install-spinn-deps with: repositories: ${{ inputs.dependencies }} install: true - name: Run Install - uses: SpiNNakerManchester/SupportScripts/actions/run-install@main + uses: ./actions/run-install - name: Setup PyNN if: ${{ inputs.cfg_file == 'spynnaker' }} - uses: SpiNNakerManchester/SupportScripts/actions/pynn-setup@main + uses: ./actions/pynn-setup - name: Create a spynnaker.cfg if: ${{ inputs.cfg_file != '' }} - uses: SpiNNakerManchester/SupportScripts/actions/configure-spynnaker@nested + uses: ./actions/configure-spynnaker with: board-address: spinn-4.cs.man.ac. cfg_file: ${{ inputs.cfg_file }} - name: Run rat copyright enforcement - uses: SpiNNakerManchester/SupportScripts/actions/check-copyrights@main + uses: .actions/check-copyrights with: config_file: rat_asl20.xml - name: Build documentation with sphinx - uses: SpiNNakerManchester/SupportScripts/actions/sphinx@main + uses: ./actions/sphinx with: directory: doc/source @@ -121,7 +121,7 @@ jobs: run: flake8 ${{ inputs.flake8-packages }} - name: Lint with pylint - uses: SpiNNakerManchester/SupportScripts/actions/pylint@main + uses: .actions/pylint with: package: ${{ inputs.base-package }} exitcheck: 31 # Action fails on any message @@ -182,7 +182,7 @@ jobs: - name: Install pip, etc if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} - uses: SpiNNakerManchester/SupportScripts/actions/python-tools@main + uses: ./actions/python-tools - name: Install mypy if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} @@ -190,22 +190,22 @@ jobs: - name: Install Spinnaker Dependencies if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} - uses: SpiNNakerManchester/SupportScripts/actions/install-spinn-deps@main + uses: ./actions/install-spinn-deps with: repositories: ${{ inputs.dependencies }} install: true - name: Run Install if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} - uses: SpiNNakerManchester/SupportScripts/actions/run-install@main + uses: ./actions/run-install - name: Setup PyNN if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true') && inputs.cfg_file == 'spynnaker' }} - uses: SpiNNakerManchester/SupportScripts/actions/pynn-setup@main + uses: ./actions/pynn-setup - name: Create a spynnaker.cfg if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true') && inputs.cfg_file != '' }} - uses: SpiNNakerManchester/SupportScripts/actions/configure-spynnaker@nested + uses: ./actions/configure-spynnaker with: board-address: spinn-4.cs.man.ac. cfg_file: ${{ inputs.cfg_file }} @@ -216,7 +216,7 @@ jobs: - name: Lint with pylint if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} - uses: SpiNNakerManchester/SupportScripts/actions/pylint@main + uses: ./actions/pylint with: package: ${{ inputs.base-package }} exitcheck: 31 # Action fails on any message @@ -229,7 +229,7 @@ jobs: - name: Test with pytest if: ${{ matrix.python-version != env.PRERELEASE || inputs.check_prereleases == 'true' }} - uses: SpiNNakerManchester/SupportScripts/actions/pytest@main + uses: ./actions/pytest with: tests: ${{ inputs.test_directories }} coverage: ${{ matrix.coverage == 'coverage' }} @@ -274,21 +274,21 @@ jobs: uses: actions/checkout@v4 - name: Install Spinnaker Dependencies - uses: SpiNNakerManchester/SupportScripts/actions/install-spinn-deps@main + uses: .actions/install-spinn-deps with: repositories: ${{ inputs.dependencies }} install: true - name: Run Install - uses: SpiNNakerManchester/SupportScripts/actions/run-install@main + uses: .actions/run-install - name: Setup PyNN if: ${{ inputs.cfg_file == 'spynnaker' }} - uses: SpiNNakerManchester/SupportScripts/actions/pynn-setup@main + uses: ./actions/pynn-setup - name: Create a spynnaker.cfg if: ${{ inputs.cfg_file != '' }} - uses: SpiNNakerManchester/SupportScripts/actions/configure-spynnaker@nested + uses: ./actions/configure-spynnaker with: board-address: spinn-4.cs.man.ac. cfg_file: ${{ inputs.cfg_file }}