From 390c06c4e97a4763275865b4d4d50d2bc5bec96d Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:03:07 +0200 Subject: [PATCH 1/7] test commit 1 --- .github/workflows/test_action.yaml | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/test_action.yaml diff --git a/.github/workflows/test_action.yaml b/.github/workflows/test_action.yaml new file mode 100644 index 000000000..ab25e6b0b --- /dev/null +++ b/.github/workflows/test_action.yaml @@ -0,0 +1,39 @@ +name: Test_action + +# trigger +on: + pull_request: + +# jobs +jobs: + Filtering: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.9', '3.11'] + # Required permissions + permissions: + pull-requests: read + + steps: + - uses: actions/checkout@v3 + - uses: dorny/paths-filter@v2 + id: filter + with: + filters: | + petab_filer: + - 'test/petab/**' + - 'pypesto/objective/amici/**' + - 'pypesto/petab/**' + - 'pypesto/predict/**' + - 'pypesto/result/predict.py' + - 'pypesto/**' + - name: Run tests + if: steps.filter.outputs.petab_filter == 'true' + timeout-minutes: 35 + run: echo "Hello Tests" + + - name: Dont run tests + if: steps.filter.outputs.petab_filter == 'false' + timeout-minutes: 35 + run: echo "Not Hello Tests" From 54be82dce5c37b6dcac00a1bcc7fcdd08a0d5cec Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:06:11 +0200 Subject: [PATCH 2/7] test commit 2 --- pypesto/version.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pypesto/version.py b/pypesto/version.py index 260c070a8..081b160ea 100644 --- a/pypesto/version.py +++ b/pypesto/version.py @@ -1 +1,2 @@ __version__ = "0.3.1" +# this is a test commit From 8c67f94a4bc8047498bd8f357ebc8cd079f68350 Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:10:48 +0200 Subject: [PATCH 3/7] small typo --- .github/workflows/test_action.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_action.yaml b/.github/workflows/test_action.yaml index ab25e6b0b..8602b8d9a 100644 --- a/.github/workflows/test_action.yaml +++ b/.github/workflows/test_action.yaml @@ -21,19 +21,19 @@ jobs: id: filter with: filters: | - petab_filer: + petab_filter: - 'test/petab/**' - 'pypesto/objective/amici/**' - 'pypesto/petab/**' - 'pypesto/predict/**' - 'pypesto/result/predict.py' - 'pypesto/**' - - name: Run tests + - name: Run_tests if: steps.filter.outputs.petab_filter == 'true' timeout-minutes: 35 - run: echo "Hello Tests" + run: echo "Hello_Tests" - name: Dont run tests if: steps.filter.outputs.petab_filter == 'false' timeout-minutes: 35 - run: echo "Not Hello Tests" + run: echo steps.filter.outputs.petab_filter From e4927086ab97b35bc71f586368fc76598b63311d Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:11:31 +0200 Subject: [PATCH 4/7] small typo --- .github/workflows/test_action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_action.yaml b/.github/workflows/test_action.yaml index 8602b8d9a..dcdd79df8 100644 --- a/.github/workflows/test_action.yaml +++ b/.github/workflows/test_action.yaml @@ -31,9 +31,9 @@ jobs: - name: Run_tests if: steps.filter.outputs.petab_filter == 'true' timeout-minutes: 35 - run: echo "Hello_Tests" + run: echo "Hello Tests" - - name: Dont run tests + - name: Dont_run_tests if: steps.filter.outputs.petab_filter == 'false' timeout-minutes: 35 - run: echo steps.filter.outputs.petab_filter + run: echo "Not Hello Tests" From 6d5e22b6b273888e23e7984b099875479b96395b Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:12:46 +0200 Subject: [PATCH 5/7] removed wrong filter --- .github/workflows/test_action.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test_action.yaml b/.github/workflows/test_action.yaml index dcdd79df8..f443f4786 100644 --- a/.github/workflows/test_action.yaml +++ b/.github/workflows/test_action.yaml @@ -27,7 +27,6 @@ jobs: - 'pypesto/petab/**' - 'pypesto/predict/**' - 'pypesto/result/predict.py' - - 'pypesto/**' - name: Run_tests if: steps.filter.outputs.petab_filter == 'true' timeout-minutes: 35 From 09e437b2f86e1758c8121e92788b726f0a89a035 Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:14:40 +0200 Subject: [PATCH 6/7] adjusted for petab as well. --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b84b258dc..9b5d59106 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,13 +63,12 @@ jobs: id: filter with: filters: | - petab_filer: + petab_filter: - 'test/petab/**' - 'pypesto/objective/amici/**' - 'pypesto/petab/**' - 'pypesto/predict/**' - 'pypesto/result/predict.py' - - 'pypesto/**' - name: Check out repository uses: actions/checkout@v3 From 21cd4ee27abfa03396f3533712666ebcc4360dee Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Mon, 26 Jun 2023 13:17:25 +0200 Subject: [PATCH 7/7] test 2 --- test/petab/test_amici_objective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/petab/test_amici_objective.py b/test/petab/test_amici_objective.py index e3947c221..69e06f66a 100644 --- a/test/petab/test_amici_objective.py +++ b/test/petab/test_amici_objective.py @@ -1,5 +1,5 @@ """ -This is for testing the pypesto.Objective. +This is for testing the pypesto.Objective. And another test. """ import amici