Try factoring out testmarker to common var

This commit is contained in:
Ross Wightman 2023-10-12 09:07:43 -07:00
parent c0e6088a36
commit d2d8066140

View File

@ -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: