Skip to content

Commit

Permalink
Fix GitHub workflow
Browse files Browse the repository at this point in the history
- Add matrix strategy for test tutorial and test workflows
- Replace pull_request_target by pull_request
  • Loading branch information
bebatut committed Oct 11, 2024
1 parent 66baf7e commit 9755079
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Run tests
on: [push, pull_request_target]
on: [push, pull_request]

jobs:
test-tools:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9755079

Please sign in to comment.