Skip to content

Commit 96cfa23

Browse files
authored
Run tests in GitHub Actions automatically for PRs (#191)
1 parent 9a38d85 commit 96cfa23

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/workflows/tests-linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Run tests (Linux)
22

3-
# Manual start only. Trying the save some minutes :)
43
'on':
5-
[workflow_dispatch]
4+
# Allows for manually starting tests
5+
workflow_dispatch:
6+
# Triggers when pull request is created
7+
pull_request:
68

79
# See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
810
permissions:

.github/workflows/tests-mac.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Run tests (Mac)
22

3-
# Manual start only. Trying the save some minutes :)
4-
on:
5-
[workflow_dispatch]
3+
'on':
4+
# Allows for manually starting tests
5+
workflow_dispatch:
6+
# Triggers when pull request is created
7+
pull_request:
68

79
# See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
810
permissions:

.github/workflows/tests-win.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Run tests (Win)
22

3-
# Manual start only. Trying the save some minutes :)
4-
on:
5-
[workflow_dispatch]
3+
'on':
4+
# Allows for manually starting tests
5+
workflow_dispatch:
6+
# Triggers when pull request is created
7+
pull_request:
68

79
# See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
810
permissions:

0 commit comments

Comments
 (0)