Skip to content

Commit cd8f6d4

Browse files
committed
Add dotnet test workflow
1 parent a7b55ea commit cd8f6d4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/dotnet-test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: dotnet bindings tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- v*
9+
pull_request:
10+
branches:
11+
- main
12+
13+
env:
14+
working-directory: bindings/dotnet
15+
16+
jobs:
17+
test:
18+
runs-on: blacksmith-4vcpu-ubuntu-2404
19+
timeout-minutes: 30
20+
21+
defaults:
22+
run:
23+
working-directory: ${{ env.working-directory }}
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Install Rust(stable)
30+
uses: dtolnay/rust-toolchain@stable
31+
32+
- name: Install dotnet sdk 9.0
33+
uses: actions/setup-dotnet@v4
34+
with:
35+
dotnet-version: '9.0.x'
36+
37+
- name: Run tests
38+
run: make test

0 commit comments

Comments
 (0)