Skip to content

Commit

Permalink
Remove Artifact Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
djnovin committed Oct 9, 2024
1 parent a942c9f commit af7f3b5
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
- name: Run Tests
run: cargo test --all -- --test-threads=1 | tee junit.xml

- name: Upload Test Report
uses: actions/upload-artifact@v4
with:
name: test-report
path: ./junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
Expand Down Expand Up @@ -107,26 +101,16 @@ jobs:
with:
fetch-depth: 0

- name: Download Coverage Report
uses: actions/download-artifact@v4
with:
name: lcov-report
path: ./lcov.info

- name: Download Test Report
uses: actions/download-artifact@v4
with:
name: test-report
path: ./test-report.json

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.coverageReportPaths=lcov.info
-Dsonar.testExecutionReportPaths=./test-report.json
-Dsonar.projectKey=your_project_key
-Dsonar.organization=your_organization
-Dsonar.coverageReportPaths=./target/lcov.info
-Dsonar.testExecutionReportPaths=./junit.xml
benchmarks:
runs-on: ubuntu-latest
Expand Down

0 comments on commit af7f3b5

Please sign in to comment.