Ensure `benchmarks` artifact names are unique, as required by `actions/upload-artifacts@v4` [build wheel] (#8710)

* Ensure benchmarks artifact names are unique, as required by actions/upload-artifacts@v4

* Always perform benchmarks
This commit is contained in:
Mirko Galimberti 2024-05-02 18:24:28 +02:00 committed by GitHub
parent 04b0fab8c2
commit 203f5501ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 7 deletions

View File

@ -168,14 +168,13 @@ jobs:
source .ci/ubuntu_ci.sh
test_kivy_install
- name: Test Kivy benchmarks
if: matrix.python == '3.x' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag'))
run: |
source .ci/ubuntu_ci.sh
test_kivy_benchmark
- name: Upload benchmarks as artifact
uses: actions/upload-artifact@v4
with:
name: benchmarks
name: benchmarks-manylinux-wheels-python-${{ matrix.python }}
path: .benchmarks-kivy
sdist_test:

View File

@ -61,7 +61,7 @@ jobs:
- name: Upload benchmarks as artifact
uses: actions/upload-artifact@v4
with:
name: benchmarks
name: benchmarks-ubuntu-unittests-python-3.x
path: .benchmarks-kivy
gen_docs:

View File

@ -31,12 +31,11 @@ jobs:
. .\.ci\windows_ci.ps1
Test-kivy
- name: Test Kivy benchmarks
if: matrix.python == '3.9' && matrix.arch == 'x64'
run: |
. .\.ci\windows_ci.ps1
Test-kivy-benchmark
- name: Upload benchmarks as artifact
uses: actions/upload-artifact@v4
with:
name: benchmarks
name: benchmarks-windows-unittests-python-${{ matrix.python }}-${{ matrix.arch }}
path: .benchmarks-kivy

View File

@ -129,14 +129,13 @@ jobs:
. .\.ci\windows_ci.ps1
Test-kivy-installed
- name: Test Kivy benchmarks
if: matrix.python == '3.x' && matrix.arch == 'x64' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag'))
run: |
. .\.ci\windows_ci.ps1
Test-kivy-benchmark
- name: Upload benchmarks as artifact
uses: actions/upload-artifact@v4
with:
name: benchmarks
name: benchmarks-windows-wheels-python-${{ matrix.python }}-${{ matrix.arch }}
path: .benchmarks-kivy
windows_sdist_test: