Skip to content

Commit 3c26422

Browse files
committed
token
1 parent 6bb5afb commit 3c26422

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/pr_tests_mps.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env:
2020
HF_HUB_ENABLE_HF_TRANSFER: 1
2121
PYTEST_TIMEOUT: 600
2222
RUN_SLOW: no
23+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
2324

2425
concurrency:
2526
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -28,6 +29,7 @@ concurrency:
2829
jobs:
2930
run_fast_tests_apple_m1:
3031
strategy:
32+
fail-fast: false
3133
matrix:
3234
config:
3335
- name: Fast Pipelines MPS tests
@@ -97,53 +99,41 @@ jobs:
9799
98100
- name: Run fast PyTorch Pipeline MPS tests
99101
if: ${{ matrix.config.framework == 'pytorch_pipelines' }}
100-
env:
101-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
102102
run: |
103103
${CONDA_RUN} python -m pytest -n 0 -s -v -k "not Flax and not Onnx" \
104104
--make-reports=tests_${{ matrix.config.report }} \
105105
tests/pipelines
106106
107107
- name: Run fast PyTorch Models MPS tests
108108
if: ${{ matrix.config.framework == 'pytorch_models' }}
109-
env:
110-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
111109
run: |
112110
${CONDA_RUN} python -m pytest -n 0 -s -v -k "not Flax and not Onnx and not Dependency" \
113111
--make-reports=tests_${{ matrix.config.report }} \
114112
tests/models/
115113
116114
- name: Run fast PyTorch Schedulers MPS tests
117115
if: ${{ matrix.config.framework == 'pytorch_schedulers' }}
118-
env:
119-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
120116
run: |
121117
${CONDA_RUN} python -m pytest -n 0 -s -v -k "not Flax and not Onnx and not Dependency" \
122118
--make-reports=tests_${{ matrix.config.report }} \
123119
tests/schedulers/
124120
125121
- name: Run fast PyTorch Others MPS tests
126122
if: ${{ matrix.config.framework == 'pytorch_others' }}
127-
env:
128-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
129123
run: |
130124
${CONDA_RUN} python -m pytest -n 0 -s -v \
131125
--make-reports=tests_${{ matrix.config.report }} \
132126
tests/others/
133127
134128
- name: Run fast PyTorch Single File MPS tests
135129
if: ${{ matrix.config.framework == 'pytorch_single_file' }}
136-
env:
137-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
138130
run: |
139131
${CONDA_RUN} python -m pytest -n 0 -s -v \
140132
--make-reports=tests_${{ matrix.config.report }} \
141133
tests/single_file/
142134
143135
- name: Run fast PyTorch Lora MPS tests
144136
if: ${{ matrix.config.framework == 'pytorch_lora' }}
145-
env:
146-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
147137
run: |
148138
${CONDA_RUN} python -m pytest -n 0 -s -v \
149139
--make-reports=tests_${{ matrix.config.report }} \

0 commit comments

Comments
 (0)