Skip to content

Commit fb970ee

Browse files
Use specific build.
1 parent 2198075 commit fb970ee

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/build-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
env:
1313
YRS_REPO: https://github.com/y-crdt/y-crdt
14-
YRS_BRANCH: main
14+
YRS_BRANCH: v0.17.4
1515
CARGO_TERM_COLOR: always
1616

1717
jobs:

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
push:
1111
branches:
1212
- 'main'
13+
pull_request:
14+
branches:
15+
- 'main'
1316

1417
jobs:
1518
test:
@@ -51,13 +54,14 @@ jobs:
5154
run: |
5255
cp output/${{ matrix.build }}/*.* YDotNet
5356
54-
- name: Build tests
57+
- name: Run tests
5558
run: |
56-
cd Tests/YDotNet.Tests.Unit
57-
dotnet build
59+
dotnet test Tests/YDotNet.Tests.Unit
60+
env:
61+
RUST_BACKTRACE: 1
5862

59-
- name: Run tests
63+
- name: Run tests server
6064
run: |
61-
dotnet test
65+
dotnet test Tests/YDotNet.Tests.Server.Unit
6266
env:
6367
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)