Skip to content

Commit b46299a

Browse files
committed
chore(ci): run unittest
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
1 parent 5aa66f7 commit b46299a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ jobs:
1515
with:
1616
submodules: recursive
1717
fetch-depth: 0
18-
- name: Build agent
18+
- name: Build
1919
uses: docker/build-push-action@v5
20+
- name: Unittest
21+
uses: docker/build-push-action@v5
22+
with:
23+
target: unittest

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -qy clang libibverb
1717

1818
RUN cd reduction_server && cargo build -r
1919

20+
FROM optcast AS unittest
21+
22+
RUN cd reduction_server && cargo test --all
23+
2024
FROM nvcr.io/nvidia/cuda:12.3.1-devel-ubuntu20.04 AS final
2125

2226
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -qy --no-install-recommends openmpi-bin

0 commit comments

Comments
 (0)