Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,15 @@ jobs:
echo "Running hard tests for tag: ${{ steps.select_tests.outputs.hard_tag }}"
mvn -B -DfailIfNoTests=false -Dgroups='${{ steps.select_tests.outputs.hard_tag }}' test

- name: Run UI tests (module commander)
- name: Install Xvfb (virtual display for JavaFX/TestFX)
if: steps.select_tests.outputs.tag == 'commander'
run: sudo apt-get update && sudo apt-get install -y xvfb

- name: UI test
if: steps.select_tests.outputs.tag == 'commander'
run: |
echo "Running UI tests (модуль commander)"
mvn -B -f commander/pom.xml -Dgroups='commander' test
xvfb-run -a mvn -q -f commander/pom.xml -Dgroups='commander' test

- name: Comment on PR for hard tests success
if: steps.select_tests.outputs.tag != '' && steps.hard_test.outcome == 'success'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public void start(Stage stage) throws IOException {
stage.setTitle("Commander");
stage.setScene(scene);
stage.show();
System.out.println("Hello world");

}
}
Loading