Skip to content

Commit 6161882

Browse files
Create test.yml
1 parent 97eed2e commit 6161882

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run Test
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Make test file executable
19+
run: chmod +x test/test
20+
21+
- name: Run test
22+
run: ./test/test
23+
working-directory: ${{ github.workspace }}

0 commit comments

Comments
 (0)