Skip to content

Commit e1f00a5

Browse files
add: workflow headless test
1 parent bd9df0c commit e1f00a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/github_lazarus.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ jobs:
2323
run: lazbuild --build-mode=Release "source/project/tracker_editor/trackereditor.lpi"
2424
- name: Build the Unit Tests Application
2525
run: lazbuild --build-mode=Debug "source/project/unit_test/tracker_editor_test.lpi"
26+
- name: Run headless test
27+
uses: GabrielBB/xvfb-action@v1
28+
with:
29+
working-directory: ./ #optional
30+
run: enduser/test_trackereditor -a --format=plain
31+
- name: Clean up after test
32+
shell: bash
33+
run: |
34+
rm -f enduser/console_log.txt
35+
rm -f enduser/export_trackers.txt
36+
git reset --hard

0 commit comments

Comments
 (0)