Skip to content

Commit

Permalink
Merge pull request #2 from hsaunders1904/hsaunders1904/add_codecov_co…
Browse files Browse the repository at this point in the history
…verage_reports

Add codecov upload to CI
  • Loading branch information
hsaunders1904 authored Mar 31, 2023
2 parents 167e6c7 + 9a14e79 commit 4e75bed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jobs:
run: |
python -m pip install poetry
poetry install --with=test
poetry run pytest --cov --cov-report=term-missing
poetry run pytest --cov --cov-report=term-missing --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# pyautoenv

[![Build Status](https://github.com/hsaunders1904/pyautoenv/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/hsaunders1904/pyautoenv/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/hsaunders1904/pyautoenv/branch/main/graph/badge.svg?token=YABNBQOS1S)](https://codecov.io/gh/hsaunders1904/pyautoenv)

Automatically activate and deactivate Python environments
as you move around the file system.

Expand Down

0 comments on commit 4e75bed

Please sign in to comment.