Skip to content

Commit

Permalink
ci: fix benchmark upload settings (#2410)
Browse files Browse the repository at this point in the history
The upload-artifact action stopped uploading "hidden" files (any file whose path contains a leading "." in some element).
  • Loading branch information
wpbonelli authored Jan 9, 2025
1 parent a80c49d commit 2de949f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
run: |
mkdir -p .benchmarks
pytest -v --durations=0 --benchmark-only --benchmark-json .benchmarks/${{ matrix.os }}_python${{ matrix.python-version }}.json --keep-failed=.failed
ls .benchmarks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -67,7 +68,8 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: benchmarks-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.run_id }}
path: autotest/.benchmarks/**/*.json
path: autotest/.benchmarks/*.json
include-hidden-files: true

post_benchmark:
needs:
Expand Down

0 comments on commit 2de949f

Please sign in to comment.