File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 51
51
run : uv pip list
52
52
53
53
- name : Test with PyTest
54
- run : uv run pytest -v -rsx -n 2 --cov=segmentation_models_pytorch --cov-report=xml --cov-config=pyproject.toml -k "not logits_match"
54
+ run : uv run pytest -v -rsx -n 2 --cov=segmentation_models_pytorch --cov-report=xml --cov-config=pyproject.toml --non-marked-only
55
55
56
56
- name : Upload coverage reports to Codecov
57
57
uses : codecov/codecov-action@v5
73
73
- name : Show installed packages
74
74
run : uv pip list
75
75
- name : Test with PyTest
76
- run : RUN_SLOW=1 uv run pytest -v -rsx -n 2 -k "logits_match"
76
+ run : RUN_SLOW=1 uv run pytest -v -rsx -n 2 -m "logits_match"
77
+
78
+ test_torch_compile :
79
+ runs-on : ubuntu-latest
80
+ steps :
81
+ - uses : actions/checkout@v4
82
+ - name : Set up Python
83
+ uses : astral-sh/setup-uv@v5
84
+ with :
85
+ python-version : " 3.10"
86
+ - name : Install dependencies
87
+ run : uv pip install -r requirements/required.txt -r requirements/test.txt
88
+ - name : Show installed packages
89
+ run : uv pip list
90
+ - name : Test with PyTest
91
+ run : uv run pytest -v -rsx -n 2 -m "compile"
77
92
78
93
minimum :
79
94
runs-on : ubuntu-latest
88
103
- name : Show installed packages
89
104
run : uv pip list
90
105
- name : Test with pytest
91
- run : uv run pytest -v -rsx -n 2 -k "not logits_match"
106
+ run : uv run pytest -v -rsx -n 2 --non-marked-only
You can’t perform that action at this time.
0 commit comments