Skip to content

Commit

Permalink
Update Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
djnovin committed Oct 9, 2024
1 parent 1762fde commit 2aeb359
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
- name: Run Tests
run: cargo test --all -- --test-threads=1 | tee junit.xml

- name: Install LCOV to SonarQube Converter
run: npm install -g lcov-to-sonarqube-generic

- name: Convert LCOV to SonarQube Generic
run: lcov-to-sonarqube-generic ./target/lcov.info > ./target/coverage-sonar.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
Expand Down Expand Up @@ -109,7 +115,7 @@ jobs:
args: >
-Dsonar.projectKey=djnovin_unkey-rust-actix
-Dsonar.organization=djnovin
-Dsonar.coverageReportPaths=./target/lcov.info
-Dsonar.coverageReportPaths=./target/coverage-sonar.xml
-Dsonar.testExecutionReportPaths=./junit.xml
benchmarks:
Expand Down

0 comments on commit 2aeb359

Please sign in to comment.