From 975507904b91f6271e16f13f0fda162b77583efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Fri, 11 Oct 2024 14:27:20 +0200 Subject: [PATCH] Fix GitHub workflow - Add matrix strategy for test tutorial and test workflows - Replace pull_request_target by pull_request --- .github/workflows/run_tests.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index ce89c45f..5ca93a36 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -1,5 +1,5 @@ name: Run tests -on: [push, pull_request_target] +on: [push, pull_request] jobs: test-tools: @@ -29,6 +29,9 @@ jobs: bash sources/bin/format_tools.sh test-tutorials: runs-on: ubuntu-20.04 + strategy: + matrix: + python-version: ['3.11'] steps: - name: Checkout uses: actions/checkout@v4 @@ -47,6 +50,9 @@ jobs: bash sources/bin/get_community_tutorials.sh test test-workflows: runs-on: ubuntu-20.04 + strategy: + matrix: + python-version: ['3.11'] steps: - name: Checkout uses: actions/checkout@v4