Skip to content

Commit 19dc2eb

Browse files
committed
Run tests in CI
1 parent 6c52a67 commit 19dc2eb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- 'main'
8+
9+
jobs:
10+
test:
11+
name: Tests
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: toitlang/action-setup@v1
17+
with:
18+
toit-version: 'v2.0.0-alpha.120'
19+
20+
- run: find tests -type f \( -name '*_test.toit' -o -name '*.test.toit' \) -exec toit.run {} \;

0 commit comments

Comments
 (0)