Skip to content

Commit e4e7cab

Browse files
committed
cit
1 parent 8f0fef7 commit e4e7cab

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation and Code Coverage
1+
name: nightly-ci
22

33
on:
44
push:
@@ -10,18 +10,19 @@ on:
1010

1111
jobs:
1212
run:
13-
name: nightly-ci ${{ matrix.os }}
13+
name: nightly-ci ${{ matrix.os }}-${{ matrix.python }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18+
python: ['3.12']
1819

1920
steps:
2021
- uses: actions/checkout@v3
2122

2223
- uses: actions/setup-python@v4
2324
with:
24-
python-version: '3.12'
25+
python-version: ${{ matrix.python }}
2526

2627
- name: Install pytorch
2728
run: python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
@@ -51,7 +52,7 @@ jobs:
5152
- name: pip freeze
5253
run: python -m pip freeze
5354

54-
- name: Generate coverage report
55+
- name: run tests
5556
run: |
5657
pip install pytest
5758
export PYTHONPATH=.

.github/workflows/documentation.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation and Code Coverage
1+
name: Code Coverage and Documentation
22

33
on:
44
push:
@@ -10,18 +10,19 @@ on:
1010

1111
jobs:
1212
run:
13-
name: Build documentation on ${{ matrix.os }}
13+
name: Code Coverage and Documentation on ${{ matrix.os }}-${{ matrix.python }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18+
python: ['3.12']
1819

1920
steps:
2021
- uses: actions/checkout@v3
2122

2223
- uses: actions/setup-python@v4
2324
with:
24-
python-version: '3.12'
25+
python-version: ${{ matrix.python }}
2526

2627
- uses: tlylt/install-graphviz@v1
2728

_unittests/ut_xrun_doc/test_helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ def test_size_type_onnx(self):
146146
name = onnx_dtype_name(i)
147147
except ValueError:
148148
continue
149-
if name not in {"STRING", "UINT4", "INT4", "FLOAT4E2M1", "NAME_FIELD_NUMBER"}:
149+
if name in {"NAME_FIELD_NUMBER"}:
150+
continue
151+
if name not in {"STRING", "UINT4", "INT4", "FLOAT4E2M1"}:
150152
size_type(i)
151153

152154
if name not in {

0 commit comments

Comments
 (0)