Skip to content

Commit

Permalink
Changed Codecov settings to upload analysis to master branch (#661)
Browse files Browse the repository at this point in the history
* Change pipeline settings

* comment fix

* --
  • Loading branch information
hazal-karakus authored Jan 13, 2025
1 parent b5fb98d commit ded90de
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run_codecov_on_pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: codecov.yml
# Run Codecov on PR open or change
on: pull_request
on:
push:
branches:
- master
pull_request:

jobs:
codecov:
runs-on: ubuntu-20.04
Expand All @@ -16,8 +21,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "18"

- name: Run React tests
# Need to run "npm run build" command for bundle analysis: https://docs.codecov.com/docs/webpack-quick-start
- name: Build React and run tests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
Expand Down

0 comments on commit ded90de

Please sign in to comment.