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 5151 run : uv pip list
5252
5353 - 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
5555
5656 - name : Upload coverage reports to Codecov
5757 uses : codecov/codecov-action@v5
7373 - name : Show installed packages
7474 run : uv pip list
7575 - 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"
7792
7893 minimum :
7994 runs-on : ubuntu-latest
88103 - name : Show installed packages
89104 run : uv pip list
90105 - 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