File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
tests/ui/smoke/mock-maximal Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,17 @@ jobs:
8686 run : |
8787 export QTDIR=${{env.OUTPUTDIR}}/Qt/$QT_VERSION/gcc_64
8888 mkdir build && cd build
89- ${QTDIR}/bin/qt-cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ../tests
89+ ${QTDIR}/bin/qt-cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ..
9090
91- - name : Build unit tests
91+ - name : Build app
9292 run : |
9393 cd build
9494 cmake --build . --config ${{env.BUILD_TYPE}} --parallel $(nproc)
95+ ls -lha
9596
96- - name : Run unit test
97+ - name : Run UI smoke test
9798 run : |
9899 cd build
99100 # The following line needs 'QT_QPA_PLATFORM=offscreen' in order to run on the headless CI server
100- QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORM=offscreen ctest --rerun-failed --output-on-failure
101+ QT_QPA_PLATFORM=offscreen ./bin/venus-gui-v2 --mock --skip-splash --ui-test smoke/mock-maximal
102+
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ qt_add_qml_module(VictronUiTest
99if (${VENUS_GX_BUILD} )
1010 qt_query_qml_module (VictronUiTest QML_FILES module_qml_files QMLDIR module_qmldir )
1111 install (FILES ${module_qmldir} DESTINATION ${CMAKE_INSTALL_BINDIR} /Victron/UiTest)
12- install (DIRECTORY tests/ui DESTINATION ${CMAKE_INSTALL_BINDIR} /Victron/UiTest)
12+ install (DIRECTORY tests/ui DESTINATION ${CMAKE_INSTALL_BINDIR} /Victron/UiTest/tests )
1313endif ()
1414
1515qt_add_resources (VictronUiTest "VictronUiTest_resources"
Original file line number Diff line number Diff line change 22 "ExitWhenFinished" : true ,
33 "Logging" : " info" ,
44 "Tests" : [
5- " tst_cards.qml" ,
65 " tst_overview.qml" ,
7- " tst_settings.qml"
86 ],
97 "Mock" : {
108 "Configuration" : " :/data/mock/conf/maximal.json" ,
You can’t perform that action at this time.
0 commit comments