Skip to content

Commit

Permalink
build.yml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MWSestabro committed Apr 12, 2024
1 parent 0bd62e8 commit 61477a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
cd opentelemetry-matlab
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
cmake --build build --config Release --target install
- name: Codecov
- name: Get Codecov
env:
# The version of libstdc++ that is bundled with MATLAB is used when building MEX files.
# This version of libstdc++ is incompatible with the system version of libstdc++.
Expand All @@ -116,11 +116,12 @@ jobs:
# Add the installation directory to the MATLAB Search Path by
# setting the MATLABPATH environment variable.
MATLABPATH: ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
- uses: matlab-actions/run-tests@v2
uses: matlab-actions/run-tests@v2
with:
source-folder: install/+opentelemetry
code-coverage-cobertura: cobertura.xml
- uses: codecov/codecov-action@v4
- name: Upload Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mathworks/OpenTelemetry-Matlab
Expand Down

0 comments on commit 61477a6

Please sign in to comment.