Skip to content

Commit

Permalink
triggering issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lnxpy committed Apr 30, 2024
1 parent 216af1b commit 2e3931a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
name: Updating the Codecov Report

on: [push, pull_request]
on:
push:
branches: [main]
pull_request:

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: pip install . pytest-cov

- name: Run tests and collect coverage
run: pytest --cov app

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 2e3931a

Please sign in to comment.