Skip to content

Commit

Permalink
add codeCov GitHub Action job
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Jan 23, 2024
1 parent b0b0a0a commit 267b82e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/codeCoverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CodeCov
on: [push, pull_request]
jobs:
code-coverage:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.12'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install bashi
run: |
pip install .
- name: Generate Report
run: |
pip install coverage
coverage run
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 267b82e

Please sign in to comment.