-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,11 @@ jobs: | |
run: pip3 install .[dev,onnxruntime] | ||
- name: "🔬 Running base tests" | ||
run: make test | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
deepsparse-tests: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
|
@@ -101,6 +106,11 @@ jobs: | |
run: pip3 install .[dev,deepsparse,onnxruntime] | ||
- name: "🔬 Running deepsparse tests" | ||
run: make test TARGETS=deepsparse | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
onnx-tests: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
|
@@ -125,6 +135,11 @@ jobs: | |
run: pip3 install .[dev,torchvision,onnxruntime] | ||
- name: "🔬 Running onnx tests" | ||
run: make test TARGETS=onnx | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
pytorch-tests: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
|
@@ -149,6 +164,11 @@ jobs: | |
run: pip3 install .[dev,torchvision,onnxruntime] | ||
- name: "🔬 Running pytorch tests" | ||
run: make test TARGETS=pytorch | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
compat-pytorch-1_9-pytorch-tests: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
|
@@ -173,6 +193,11 @@ jobs: | |
run: pip3 install .[dev,torchvision,onnxruntime] torch==1.9.1 | ||
- name: "🔬 Running pytorch tests" | ||
run: make test TARGETS=pytorch | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
compat-pytorch-1_9-onnx-tests: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
|
@@ -196,14 +221,9 @@ jobs: | |
- name: "⚙️ Install dependencies" | ||
run: pip3 install .[dev,torchvision,onnxruntime] torch==1.9.1 | ||
- name: "🔬 Running onnx tests" | ||
run: make test TARGETS=onnx | ||
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: pytest --cov=src --cov-report=xml:coverage.xml | ||
|
||
run: make test TARGETS=onnx | ||
- name: Report Coverage | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters