summaryrefslogtreecommitdiffstats
path: root/.github/workflows/unittest.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/unittest.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
index 0646eab5..03a02f6a 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittest.yml
@@ -1,6 +1,13 @@
name: Unittest
-on: [push]
+on:
+ pull_request:
+ types:
+ - opened
+ - synchronize
+ push:
+ branches:
+ - 'main'
jobs:
build: