Skip to content

Commit

Permalink
no longer run tests twice (#2027)
Browse files Browse the repository at this point in the history
* reduce tests on ci

* Update test_windows.yml

* add more merge groups
  • Loading branch information
Fabian Fröhlich authored Feb 27, 2023
1 parent 9f0ed1d commit 2359920
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_branch.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Deploy Branch
on: [push, pull_request, workflow_dispatch]
on: [push, merge_group, workflow_dispatch]

jobs:
sdist:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_benchmark_collection_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
branches:
- develop
- master

pull_request:
branches:
- master
- develop
merge_group:
workflow_dispatch:
schedule:
- cron: '48 4 * * *'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- develop
- master
merge_group:
workflow_dispatch:
schedule:
- cron: '48 4 * * *'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Installation
on: [push, pull_request, workflow_dispatch]
on: [push, merge_group, workflow_dispatch]

jobs:
archive:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_matlab.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Matlab
on: [push, pull_request, workflow_dispatch]
on: [push, merge_group, workflow_dispatch]

jobs:
matlab:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_petab_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ on:
branches:
- develop
- master

pull_request:
branches:
- master
- develop

merge_group:
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_python_cplusplus.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: C++/Python Tests
on: [push, pull_request, workflow_dispatch]
on: [push, merge_group, workflow_dispatch]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Windows Tests
on:
push:
pull_request:
merge_group:
workflow_dispatch:
schedule:
- cron: '48 4 * * *'
Expand Down

0 comments on commit 2359920

Please sign in to comment.