Skip to content

Commit 30e199e

Browse files
Update unit test workflow
1 parent 3ea4ae8 commit 30e199e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Run unit tests
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
types:
6+
- closed
47

58
jobs:
69
build:
7-
10+
if: github.event.pull_request.merged
811
runs-on: ubuntu-latest
12+
913
strategy:
1014
matrix:
1115
python-version: ['3.7', '3.8', '3.9', '3.10']

0 commit comments

Comments
 (0)