Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .github/workflows/test-runner-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,18 @@ jobs:
- name: Coverage
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/dynamic-badges-action@v1.7.0
python -m coverage combine --debug=pathmap
python -m coverage xml --skip-empty
- name: Comment on PR
uses: orgoro/coverage@v3.1
with:
auth: ${{ secrets.ACTIONS_TOKEN }}
gistID: 48dea0fc9a908a6e5ba5c5e84123bc02
filename: coverage.json
label: Coverage
message: ${{ env.total }}%
minColorRange: 40
maxColorRange: 80
valColorRange: ${{ env.total }}
coverageFile: coverage.xml
token: ${{ secrets.ACTION_TOKEN }}
treshholdAll: 80
- uses: actions/upload-artifact@v4
with:
name: coverage.xml
path: coverage.xml
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 @@
[![Test Runner CI](https://github.com/intel/ai-containers/actions/workflows/test-runner-ci.yaml/badge.svg)](https://github.com/intel/ai-containers/actions/workflows/test-runner-ci.yaml)
[![Weekly Tests](https://github.com/intel/ai-containers/actions/workflows/weekly-test.yaml/badge.svg)](https://github.com/intel/ai-containers/actions/workflows/weekly-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
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
env_list =
py{38,39,310,311,312}
coverage
source =
test-runner/*

[testenv]
deps =
Expand Down Expand Up @@ -35,6 +37,9 @@ exclude_lines =
if __name__ == "__main__":
omit = utest.py

[coverage:combine]
relative_paths = true

[gh-actions]
python =
3.8: py38
Expand Down