Skip to content

Commit 8a15ee5

Browse files
committed
tweak workflow
1 parent 4a7b088 commit 8a15ee5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test_linux_build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@ jobs:
2424
working-directory: opentelemetry-matlab
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 }}
27-
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
27+
cmake --build build --config Release --target install -v
3628
- name: Compress into single artifact
3729
working-directory: ${{ github.workspace }}
3830
run: tar -czf otel-matlab-ubuntu.tar.gz otel_matlab_install
@@ -41,3 +33,11 @@ jobs:
4133
with:
4234
name: otel-matlab-ubuntu.tar.gz
4335
path: ${{ github.workspace }}/otel-matlab-ubuntu.tar.gz
36+
- name: Run tests
37+
env:
38+
# Add the installation directory to the MATLAB Search Path by
39+
# setting the MATLABPATH environment variable.
40+
MATLABPATH: ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
41+
uses: matlab-actions/run-tests@v2
42+
with:
43+
select-by-folder: opentelemetry-matlab/test

0 commit comments

Comments
 (0)