tools/ci.sh: Run performance benchmark as part of all unix test runs.

This tests that the performance benchmarks run without error.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2022-02-28 18:54:10 +11:00
parent c4b8dae438
commit 8626dcd623
2 changed files with 1 additions and 6 deletions

View File

@ -45,8 +45,6 @@ jobs:
run: source tools/ci.sh && ci_unix_standard_build
- name: Run main test suite
run: source tools/ci.sh && ci_unix_standard_run_tests
- name: Run performance benchmarks
run: source tools/ci.sh && ci_unix_standard_run_perfbench
- name: Print failures
if: failure()
run: tests/run-tests.py --print-failures

View File

@ -385,6 +385,7 @@ function ci_unix_run_tests_full_helper {
fi
make -C ports/unix VARIANT=$variant "$@" test_full
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/$micropython ./run-multitests.py multi_net/*.py)
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/$micropython ./run-perfbench.py 1000 1000)
}
function ci_native_mpy_modules_build {
@ -424,10 +425,6 @@ function ci_unix_standard_run_tests {
ci_unix_run_tests_full_helper standard
}
function ci_unix_standard_run_perfbench {
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython ./run-perfbench.py 1000 1000)
}
function ci_unix_dev_build {
ci_unix_build_helper VARIANT=dev
}