Skip to content

Commit c087b38

Browse files
committed
tweak GitHub workflow
1 parent 02590c5 commit c087b38

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test_linux_build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
run: |
2626
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_OTLP_GRPC=OFF -DWITH_OTLP_FILE=OFF -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
2727
cmake --build build --config Release --target install
28+
- name: Run tests
29+
env:
30+
# Add the installation directory to the MATLAB Search Path by
31+
# setting the MATLABPATH environment variable.
32+
MATLABPATH: ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
33+
uses: matlab-actions/run-tests@v2
34+
with:
35+
select-by-folder: opentelemetry-matlab/test
2836
- name: Compress into single artifact
2937
working-directory: ${{ github.workspace }}
3038
run: tar -czf otel-matlab-ubuntu.tar.gz otel_matlab_install

0 commit comments

Comments
 (0)