File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,43 @@ jobs:
184
184
- uses : actions/checkout@v3
185
185
- name : build & test cwltool_module container
186
186
run : ./build-cwltool-docker.sh
187
+
188
+ macos :
189
+ name : CI test on macos-latest
190
+ runs-on : macos-latest
191
+ env :
192
+ TOXENV : py310-unit
193
+ steps :
194
+ - uses : actions/checkout@v3
195
+ with :
196
+ fetch-depth : 0
197
+ - name : Set up Python
198
+ uses : actions/setup-python@v4
199
+ with :
200
+ python-version : " 3.10"
201
+ cache : pip
202
+ cache-dependency-path : |
203
+ requirements.txt
204
+ tox.ini
205
+ - name : Upgrade setuptools and install tox
206
+ run : |
207
+ pip install -U pip setuptools wheel
208
+ pip install tox tox-gh-actions
209
+ # # docker for mac install is not currently stable
210
+ # - name: 'SETUP MacOS: load Homebrew cache'
211
+ # uses: actions/cache@v3
212
+ # if: runner.os == 'macOS'
213
+ # with:
214
+ # path: |
215
+ # ~/Library/Caches/Homebrew/downloads/*--Docker.dmg
216
+ # key: brew-actions-setup-docker-1.0.11
217
+ # restore-keys: brew-actions-setup-docker-
218
+ # - name: setup docker on macos (default stable version)
219
+ # uses: docker-practice/actions-setup-docker@master
220
+ - name : Test with tox
221
+ run : tox
222
+ - name : Upload coverage to Codecov
223
+ if : ${{ matrix.step == 'unit' }}
224
+ uses : codecov/codecov-action@v3
225
+ with :
226
+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments