Skip to content

Commit

Permalink
adding a dummy file, remoing path
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ko committed Oct 30, 2024
1 parent 478c329 commit 97cf8ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ jobs:
- name: Upload Javascript coverage
run: ./codecov upload-process --disable-search -t ${{ secrets.CODECOV_TOKEN }} -n javascript-${{ github.run_id }} -F javascript -f coverage/coverage-final.json

- name: Create a dummy file
run: touch dummy-file.txt

- name: Upload dummy file to Codecov
run: ./codecov upload-process --disable-search -t ${{ secrets.CODECOV_TOKEN }} -n dummy-${{ github.run_id }} -F dummy -f dummy-file.txt

- name: Trigger notifications
run: ./codecov send-notifications -t ${{ secrets.CODECOV_TOKEN }}

12 changes: 5 additions & 7 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ coverage:
target: 80%
flags:
- javascript

codecov:
notify:
manual_trigger: true
notify_error: true

github_checks: #does not work if flags are configured
annotations: true
Expand Down Expand Up @@ -63,14 +68,7 @@ component_management:
individual_components:
- component_id: "backend"
name: "backend"
paths:
- ".*"
flag_regexes: # List of lags to be included in the component.
- "unit"
- "controller"
- "service"

codecov:
notify:
manual_trigger: true
notify_error: true

0 comments on commit 97cf8ee

Please sign in to comment.