Skip to content

Commit 391c33c

Browse files
committed
feat: add workflow to run test cases on push
1 parent d29f9b0 commit 391c33c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .github/workflows/run-tests.yml
2+
name: Run Tests
3+
4+
on:
5+
push:
6+
branches:
7+
- '**' # run on any branch push
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Set execute permission for test script
18+
run: chmod +x tests/run_all_tests.sh
19+
20+
- name: Run all tests
21+
run: ./tests/run_all_tests.sh

0 commit comments

Comments
 (0)