Skip to content

Commit bafd82d

Browse files
committed
workflow only tirggers on main
1 parent 055798f commit bafd82d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/unittest.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Run unit tests
22
run-name: Testing ${{ github.actor }}'s changes
3-
on: [pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410
jobs:
511
unit-test:
612
runs-on: ubuntu-latest
@@ -20,6 +26,6 @@ jobs:
2026
- uses: actions/setup-python@v4
2127
with:
2228
python-version: "3.11"
23-
- run: pip install antlr4-python3-runtime==4.11.1 psycopg2
29+
- run: python -m pip install antlr4-python3-runtime==4.11.1 psycopg2
2430
- name: Run tests
2531
run: python -m unittest -v test_age_py test_agtypes.py

0 commit comments

Comments
 (0)