Skip to content

Commit f45c5cf

Browse files
committed
ci
Signed-off-by: Justin Chu <[email protected]>
1 parent 7f26909 commit f45c5cf

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name:
2828
- py313
2929
- py312-onnx-weekly
30-
- py39
30+
- py310
3131
include:
3232
# Test the max and min supported versions of Python
3333
- name: py313
@@ -36,8 +36,8 @@ jobs:
3636
- name: py312-onnx-weekly
3737
python-version: "3.12"
3838
nox-tag: test-onnx-weekly
39-
- name: py39
40-
python-version: "3.9"
39+
- name: py310
40+
python-version: "3.10"
4141
nox-tag: test
4242
runs-on: ${{ matrix.os }}
4343
steps:
@@ -52,9 +52,6 @@ jobs:
5252
run: git lfs pull
5353
- name: Run tests
5454
run: nox -t ${{ matrix.nox-tag }} --forcecolor -- --cov=onnx_ir --cov-report=xml --cov-append --cov-branch -n=auto --junitxml junit.xml
55-
env:
56-
CATCH_ORT_SEGFAULT: "${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}"
57-
CREATE_REPRODUCTION_REPORT: "${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}"
5855
- name: Upload coverage to Codecov
5956
if: always()
6057
uses: codecov/codecov-action@v5
@@ -77,7 +74,7 @@ jobs:
7774
- name: Setup Python
7875
uses: actions/setup-python@v5
7976
with:
80-
python-version: "3.10"
77+
python-version: "3.12"
8178
cache: pip
8279
cache-dependency-path: "**/requirements-dev.txt"
8380
- name: Install dependencies

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test(session):
5959
@nox.session(tags=["test-onnx-weekly"])
6060
def test_onnx_weekly(session):
6161
"""Test with ONNX weekly (preview) build."""
62-
session.install(*COMMON_TEST_DEPENDENCIES)
62+
session.install(*COMMON_TEST_DEPENDENCIES, PYTORCH)
6363
session.install("-r", "requirements/ci/requirements-onnx-weekly.txt")
6464
session.install(".", "--no-deps")
6565
session.run("pip", "list")

0 commit comments

Comments
 (0)