Skip to content

Commit

Permalink
ci.yml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Jan 5, 2025
1 parent b73aa4d commit 8bb16e6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,16 @@ jobs:
- name: Clean
run: ./gradlew clean
# Run tests
- name: Tests
run: ./gradlew test -i --tests com.checkmarx.intellij.standard*
- name: Run Tests with coverage report
id: test_results
run: |
./gradlew test --tests "com.checkmarx.intellij.standard*" jacocoTestReport
# Save coverage report as an artifact
- name: Upload Coverage Report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: build/reports/jacoco/test/html/
# Save report if tests fail
- name: Save fails report
if: ${{ failure() }}
Expand Down

0 comments on commit 8bb16e6

Please sign in to comment.