Skip to content

Commit

Permalink
chore: refactor test github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Jan 10, 2024
1 parent d5b4eba commit e6bd5ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Report Code Coverage
name: Test and Report Code Coverage
on:
workflow_call:
secrets:
SONAR_TOKEN:
required: true

pull_request:
types: ['opened', 'reopened', 'synchronize']

jobs:
coverage:
name: Code Coverage
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test.yml → .github/workflows/ut-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests & report coverage
name: UT Tests

on:
pull_request:
Expand All @@ -8,12 +8,6 @@ on:
- synchronize

jobs:
test-and-report-coverage:
name: Report Code Coverage
uses: ./.github/workflows/report-code-coverage.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

ut_tests:
name: UT Tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit e6bd5ff

Please sign in to comment.