Skip to content

Commit

Permalink
report coverage status
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertitsworth committed May 28, 2024
1 parent bb3e2ae commit 888eae7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/test-runner-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,12 @@ jobs:
run: |
python -m pip install coverage
python -m coverage combine
echo -e "\`\`\`markdown\n$(python -m coverage report -i -m)\n\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "total=$(python -m coverage report --format=total)" >> $GITHUB_ENV
- name: Update Badge
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: schneegans/[email protected]
- name: Report Status
uses: khaeru/codecov-gh@v1
with:
auth: ${{ secrets.ACTIONS_TOKEN }}
gistID: 48dea0fc9a908a6e5ba5c5e84123bc02
filename: coverage.json
label: Coverage
message: ${{ env.total }}%
minColorRange: 40
maxColorRange: 80
valColorRange: ${{ env.total }}
threshold: 80.0
token: ${{ secrets.ACTION_TOKEN }}

integration-test:
runs-on: k8-runners
steps:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
[![Unit Tests](https://github.com/intel/ai-containers/actions/workflows/unit-test.yaml/badge.svg?branch=main)](https://github.com/intel/ai-containers/actions/workflows/unit-test.yaml)
[![Integration Tests](https://github.com/intel/ai-containers/actions/workflows/integration-test.yaml/badge.svg?branch=main)](https://github.com/intel/ai-containers/actions/workflows/integration-test.yaml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/intel/ai-containers/main.svg)](https://results.pre-commit.ci/latest/github/intel/ai-containers/main)
[![coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/tylertitsworth/48dea0fc9a908a6e5ba5c5e84123bc02/raw/coverage.json)](https://gist.github.com/tylertitsworth/48dea0fc9a908a6e5ba5c5e84123bc02)

This repository contains Dockerfiles, scripts, yaml files, Helm charts, etc. used to scale out AI containers with versions of TensorFlow and PyTorch that have been optimized for Intel platforms. Scaling is done with python, Docker, kubernetes, kubeflow, cnvrg.io, Helm, and other container orchestration frameworks for use in the cloud and on-premise.

Expand Down

0 comments on commit 888eae7

Please sign in to comment.