mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Try factoring out testmarker to common var
This commit is contained in:
parent
c0e6088a36
commit
d2d8066140
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
OMP_NUM_THREADS: 2
|
OMP_NUM_THREADS: 2
|
||||||
MKL_NUM_THREADS: 2
|
MKL_NUM_THREADS: 2
|
||||||
|
MARK: ['-k "not test_models"', '-m base', '-m cfg', '-m torchscript', '-m features', '-m fxforward', '-m fxbackward']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -21,8 +22,9 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- torch: {base: '2.1.0', vision: '0.16.0'}
|
- torch: {base: '2.1.0', vision: '0.16.0'}
|
||||||
python: '3.11'
|
python: '3.11'
|
||||||
|
testmarker: ${{ env.MARK }}
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
testmarker: ['-k "not test_models"', '-m base', '-m cfg', '-m torchscript', '-m features', '-m fxforward', '-m fxbackward']
|
testmarker: ${{ env.MARK }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user