Skip to content

Commit 0aa471c

Browse files
committed
Run tests in release mode as well
1 parent 9b9fb4a commit 0aa471c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,19 @@ jobs:
3838
run: cargo build
3939
- name: Run tests
4040
run: cargo test
41-
- name: Build (release)
42-
run: cargo build --release
41+
42+
build_release:
43+
name: Build & test release mode
44+
runs-on: ubuntu-latest
45+
needs: build_workspace
46+
steps:
47+
- uses: actions/checkout@v4
48+
with:
49+
lfs: true
50+
- name: Build (release)
51+
run: cargo build --release
52+
- name: Test (release)
53+
run: cargo test --release
4354

4455
build_lib_all_features:
4556
name: Build splashsurf_lib with all features

0 commit comments

Comments
 (0)