Skip to content

Commit

Permalink
Update codecov ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
j4ckofalltrades committed Jul 18, 2021
1 parent 3e3412f commit b9282da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Codecov

on:
push:
tags:
- 'v*.*.*'
branches:
- main

jobs:
coverage:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Generate coverage report
run: |
python -m pip install ".[test]"
python -m pytest --cov=./ --cov-report=xml
python -m pytest --cov=src/powerline_k8s --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# powerline-k8s

[![PyPI](https://img.shields.io/pypi/v/powerline-k8s)](https://pypi.org/project/powerline-k8s/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/powerline-k8s)
[![codecov](https://codecov.io/gh/j4ckofalltrades/powerline-k8s/branch/main/graph/badge.svg?token=J5GLE5ZY2V)](https://codecov.io/gh/j4ckofalltrades/powerline-k8s)

A custom [Powerline](https://github.com/powerline/powerline) segment for displaying the current Kubernetes context and namespace.

Expand Down

0 comments on commit b9282da

Please sign in to comment.