Skip to content

Commit e3fa930

Browse files
committed
Fixes benchmark tests on wheels
1 parent 3130818 commit e3fa930

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.ci/ubuntu_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ test_kivy() {
105105
}
106106

107107
test_kivy_benchmark() {
108-
KIVY_NO_ARGS=1 python3 -m pytest "$(pwd)/kivy/tests" --benchmark-only
108+
KIVY_NO_ARGS=1 pytest --pyargs kivy.tests --benchmark-only
109109
}
110110

111111
test_kivy_install() {

.ci/windows_ci.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function Test-kivy {
110110
}
111111

112112
function Test-kivy-benchmark {
113-
python -m pytest "$(pwd)/kivy/tests" --benchmark-only
113+
pytest --pyargs kivy.tests --benchmark-only
114114
}
115115

116116
function Test-kivy-installed {

.github/workflows/manylinux_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
run: |
153153
source .ci/ubuntu_ci.sh
154154
test_kivy_benchmark
155-
- name: Upload benchamrks as artifact
155+
- name: Upload benchmarks as artifact
156156
uses: actions/upload-artifact@v2
157157
with:
158158
name: benchmarks

0 commit comments

Comments
 (0)