From 2c59859e1ff1dc419e9e4db09b928f339aff97f1 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 12 Sep 2023 00:36:35 -0400 Subject: [PATCH] testability: bench test commands should have automated coverage using simulator #5562 --- .github/workflows/build-simulator.yaml | 8 ++++++++ simulator/.gitignore | 1 + 2 files changed, 9 insertions(+) diff --git a/.github/workflows/build-simulator.yaml b/.github/workflows/build-simulator.yaml index 08a04ddf99..d1e49beb38 100644 --- a/.github/workflows/build-simulator.yaml +++ b/.github/workflows/build-simulator.yaml @@ -29,6 +29,10 @@ jobs: working-directory: ./java_tools run: ./gradlew shadowJar + - name: Gradle autotest java + working-directory: ./java_tools + run: ./gradlew :autotest:shadowJar + - name: Print GCC version working-directory: . run: gcc -v @@ -50,6 +54,10 @@ jobs: working-directory: ./simulator/ run: ./build/rusefi_simulator 10 + - name: Run Simulator Functional Test + working-directory: ./simulator/ + run: java -cp ../java_console/autotest/build/libs/autotest-all.jar com.rusefi.SimulatorFunctionalTestLauncher start + - name: Reset git run: | git reset --hard diff --git a/simulator/.gitignore b/simulator/.gitignore index a057273502..06c406560f 100644 --- a/simulator/.gitignore +++ b/simulator/.gitignore @@ -1 +1,2 @@ flash*.bin +rusefi_tool.log