Skip to content

Commit 9daad28

Browse files
committed
Add -v to pytest in workflow
1 parent 428eede commit 9daad28

File tree

4 files changed

+3
-68
lines changed

4 files changed

+3
-68
lines changed

.github/workflows/CI-mac-arm64.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -159,68 +159,3 @@ jobs:
159159
source venv/bin/activate
160160
# This will fail because there are no OpenCL plaforms available, thus we add || true
161161
python -c "import fast" || true
162-
163-
# test-cpp:
164-
# name: Run C++ Tests
165-
# needs: [build]
166-
# runs-on: [self-hosted, macos]
167-
# steps:
168-
# - name: Download artifacts
169-
# uses: actions/download-artifact@v3
170-
# with:
171-
# name: 'Archive package (tar.xz)'
172-
# path: ${{github.workspace}}/download/
173-
# - name: Extract artifact
174-
# run: |
175-
# mkdir -p ${{github.workspace}}/download/
176-
# cd ${{github.workspace}}/download/
177-
# tar -xf fast_*.tar.xz -C ${{github.workspace}}
178-
# - name: Download test data
179-
# run: |
180-
# cd ${{github.workspace}}
181-
# cd fast*
182-
# cd fast/bin/
183-
# ./downloadTestData
184-
# - name: Run tests
185-
# run: |
186-
# cd ${{github.workspace}}
187-
# cd fast_*
188-
# cd fast/bin/
189-
# ./testFAST ~[visual]~[unstablemac]
190-
# - name: Cleanup
191-
# if: always()
192-
# run: |
193-
# rm -Rf ${{github.workspace}}
194-
# rm -Rf $HOME/FAST/kernel_binaries/*
195-
#
196-
# test-python:
197-
# name: Run Python Tests
198-
# needs: [build]
199-
# runs-on: [self-hosted, macos]
200-
# steps:
201-
# - uses: actions/checkout@v2
202-
# - name: Download artifacts
203-
# uses: actions/download-artifact@v3
204-
# with:
205-
# name: 'Python wheel'
206-
# path: ${{github.workspace}}/download/
207-
# - name: Create environment and install python packages
208-
# run: |
209-
# cd ${{github.workspace}}
210-
# mkdir tmp
211-
# cd tmp
212-
# virtualenv -p python3 venv
213-
# source venv/bin/activate
214-
# pip3 install pytest
215-
# pip3 install ${{github.workspace}}/download/pyfast-*.whl
216-
# - name: Run tests
217-
# run: |
218-
# cd ${{github.workspace}}/tmp/
219-
# source venv/bin/activate
220-
# pytest ../source/FAST/
221-
# - name: Cleanup
222-
# if: always()
223-
# run: |
224-
# rm -Rf ${{github.workspace}}/download/
225-
# rm -Rf ${{github.workspace}}/tmp/
226-
# rm -Rf $HOME/FAST/kernel_binaries/*

.github/workflows/CI-mac-x86_64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,5 +201,5 @@ jobs:
201201
run: |
202202
cd ${{github.workspace}}
203203
source venv/bin/activate
204-
pytest source/FAST/
204+
pytest source/FAST/ -v
205205

.github/workflows/CI-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,5 +341,5 @@ jobs:
341341
#Xvfb "$DISPLAY" -screen 0 1024x768x24 &
342342
cd ${{github.workspace}}/tmp/
343343
source venv/bin/activate
344-
pytest ../source/FAST/
344+
pytest ../source/FAST/ -v
345345

.github/workflows/CI-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ jobs:
306306
run: |
307307
cd ${{github.workspace}}
308308
python -m pip install pytest numpy
309-
pytest source/FAST/
309+
pytest source/FAST/ -v
310310
311311
# Seg faults for some reason:
312312
# test-cpp:

0 commit comments

Comments
 (0)