This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/apisix-python-plugin-runner.git
The following commit(s) were added to refs/heads/master by this push:
new 62a68f2 ci: upload unit test coverage file to codecov.io (#22)
62a68f2 is described below
commit 62a68f2bd76a18478028d6471d838a82c697eac5
Author: 帅进超 <[email protected]>
AuthorDate: Wed Aug 18 11:46:16 2021 +0800
ci: upload unit test coverage file to codecov.io (#22)
---
.github/workflows/runner-test.yml | 3 +++
README.md | 1 +
2 files changed, 4 insertions(+)
diff --git a/.github/workflows/runner-test.yml
b/.github/workflows/runner-test.yml
index c3ec9eb..af36bef 100644
--- a/.github/workflows/runner-test.yml
+++ b/.github/workflows/runner-test.yml
@@ -46,3 +46,6 @@ jobs:
run: make setup install
- name: Run unit tests
run: make test
+ - name: Upload coverage profile
+ if: ${{ matrix.python-version == '3.6' }}
+ run: bash <(curl -s https://codecov.io/bash)
diff --git a/README.md b/README.md
index accdcfe..3d7525d 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@
[](https://github.com/apache/apisix-python-plugin-runner/actions)
[](https://github.com/apache/apisix-python-plugin-runner/actions)
[](https://github.com/apache/apisix-python-plugin-runner/actions)
+[](https://codecov.io/gh/apache/apisix-python-plugin-runner)
Runs [Apache APISIX](http://apisix.apache.org/) plugins written in Python.
Implemented as a sidecar that accompanies
APISIX.