Skip to content

Commit

Permalink
Auto stash before merge of "main" and "origin/main"
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranu committed Jul 10, 2024
1 parent ddf97c8 commit 2408796
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ jobs:
- name: Run tests with pytest
run: pytest --cov=ts_workflow_examples --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml # Adjust path to your coverage report if needed
flags: unittests
name: codecov-ubuntu # Optional name for the upload
fail_ci_if_error: true
directory: ./ # Adjust if the coverage file is in a different directory
override_branch: ${{ github.head_ref || github.ref_name }}
override_commit: ${{ github.sha }}
override_pr: ${{ github.event.number }}
repository: ts-workflow-examples/ts_workflow_examples
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ./coverage.xml # Adjust path to your coverage report if needed
# flags: unittests
# name: codecov-ubuntu # Optional name for the upload
# fail_ci_if_error: true
# directory: ./ # Adjust if the coverage file is in a different directory
# override_branch: ${{ github.head_ref || github.ref_name }}
# override_commit: ${{ github.sha }}
# override_pr: ${{ github.event.number }}
# repository: ts-workflow-examples/ts_workflow_examples

0 comments on commit 2408796

Please sign in to comment.