Skip to content

Commit

Permalink
add(pythonindia#751): publish test results
Browse files Browse the repository at this point in the history
  • Loading branch information
indiVar0508 committed Jul 2, 2023
1 parent fbc3287 commit 12d5265
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
- master # Only run when PR is raised for master

permissions:
pull-requests: write # for writting comment for coverage
checks: write # for publishing test results
pull-requests: write # for writting comment for coverage & test result

# This ensures for a single PR one job is run in case of multiple runs
concurrency:
Expand All @@ -24,6 +25,13 @@ jobs:
# Run Tests
- name: Run Tests
run: docker-compose -f "docker-compose.test.yml" up --build
# Publish Test results
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
./temp/testresults/test-results.xml
# Code Coverage
- name: Code Coverage Report
uses: irongut/[email protected]
Expand All @@ -42,4 +50,4 @@ jobs:
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md
path: code-coverage-results.md

0 comments on commit 12d5265

Please sign in to comment.