mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-03-28 17:42:56 +01:00
Merge pull request #146 from ipnet-mesh/chore/codecov-tests
Add Test upload
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests with pytest
|
- name: Run tests with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest --cov=meshcore_hub --cov-report=xml --cov-report=term-missing
|
pytest --cov=meshcore_hub --cov-report=xml --cov-report=term-missing --junitxml=junit.xml -o junit_family=legacy
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
@@ -58,6 +58,13 @@ jobs:
|
|||||||
verbose: true
|
verbose: true
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
- name: Upload test results to Codecov
|
||||||
|
uses: codecov/codecov-action@v5
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
|
with:
|
||||||
|
report_type: test_results
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build Package
|
name: Build Package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/ipnet-mesh/meshcore-hub/actions/workflows/ci.yml)
|
[](https://github.com/ipnet-mesh/meshcore-hub/actions/workflows/ci.yml)
|
||||||
[](https://github.com/ipnet-mesh/meshcore-hub/actions/workflows/docker.yml)
|
[](https://github.com/ipnet-mesh/meshcore-hub/actions/workflows/docker.yml)
|
||||||
|
[](https://codecov.io/github/ipnet-mesh/meshcore-hub)
|
||||||
[](https://www.buymeacoffee.com/jinglemansweep)
|
[](https://www.buymeacoffee.com/jinglemansweep)
|
||||||
|
|
||||||
Python 3.13+ platform for managing and orchestrating MeshCore mesh networks.
|
Python 3.13+ platform for managing and orchestrating MeshCore mesh networks.
|
||||||
|
|||||||
Reference in New Issue
Block a user