Skip to content

Commit bc992c5

Browse files
committed
add test runner
1 parent 8c05921 commit bc992c5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test Globe Runtime
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: dart-lang/setup-dart@v1
14+
15+
- name: Add Globe Runtime shared library
16+
run: |
17+
sudo apt-get update && sudo apt-get install -y jq curl
18+
mkdir /.globe/runtime && cd /.globe/runtime
19+
curl -s https://api.github.com/repos/invertase/globe_runtime/releases/latest \
20+
| jq -r '.assets[] | select(.name == "libglobe_runtime-x86_64-unknown-linux-gnu.so") | .browser_download_url' \
21+
| xargs curl -L -OJ
22+
23+
- name: Run tests
24+
working-directory: packages/globe_runtime
25+
run: dart test --reporter expanded --concurrency=1

0 commit comments

Comments
 (0)