Skip to content

Commit 865d2eb

Browse files
committed
ci: Add GitHub Actions workflow for pull request testing and validation
1 parent 6f70dd6 commit 865d2eb

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/sanity_check.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: PR Test
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Run tests
13+
run: |
14+
echo "Running tests on PR #${{ github.event.pull_request.number }}"
15+
pytest -q

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [ main, develop, release_v2 ]
66
pull_request:
77
types: [opened, synchronize, reopened, ready_for_review]
8-
branches: [ main, develop, release_v2 ]
8+
branches: [ main, develop ]
99
workflow_dispatch:
1010

1111
jobs:

0 commit comments

Comments
 (0)