Skip to content

Commit

Permalink
Issue #5 use --basetemp to have controlled output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jul 26, 2024
1 parent 2d39be7 commit b1bb730
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@ jobs:
run: |
cd qa/benchmarks
mkdir report
mkdir tmp_path_root
pytest \
--dummy \
--html report/report.html --self-contained-html \
--track-metrics-report=report/metrics.json
--track-metrics-report=report/metrics.json \
--basetemp=tmp_path_root
env:
OPENEO_AUTH_METHOD: client_credentials
OPENEO_AUTH_CLIENT_CREDENTIALS_CDSEFED: ${{ secrets.OPENEO_AUTH_CLIENT_CREDENTIALS_CDSEFED }}
- name: List local reports
if: always()
run: ls -alR qa/benchmarks/report
- name: List local results
if: always()
run: ls -alR qa/benchmarks/tmp_path_root
- name: upload report
uses: actions/upload-artifact@v4
if: always()
Expand Down
1 change: 1 addition & 0 deletions qa/benchmarks/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
report/
tmp_path_root/

0 comments on commit b1bb730

Please sign in to comment.