Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Logicer16 committed Nov 23, 2024
1 parent 91f46ae commit 7fb1e5b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
skip_after_successful_duplicate: "true"
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

- run: |
echo ${{ github.event.pull_request.user.login }}
echo ${{ github.event_name != 'pull_request' && github.event.pull_request.user.login != 'dependabot[bot]' }}
echo ${{ github.event_name != 'pull_request'}}
echo ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
echo ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
Style:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -121,14 +128,14 @@ jobs:
run: pnpm run test:ci --coverage --reporter junit --outputFile ./coverage/junit.xml

- name: Upload coverage to Codecov
if: ${{ env.report && env.notDependabot }}
if: ${{ env.report && env.notDependabot == 'true' }}
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: ${{ !cancelled() && env.report && env.notDependabot }}
if: ${{ !cancelled() && env.report && env.notDependabot == 'true' }}
uses: codecov/test-results-action@v1
with:
fail_ci_if_error: true
Expand Down

0 comments on commit 7fb1e5b

Please sign in to comment.