Skip to content

Commit

Permalink
Fix setting of headless mode
Browse files Browse the repository at this point in the history
Fixes #50

Reported-by: Marco Primi <[email protected]>
  • Loading branch information
ligurio committed May 26, 2022
1 parent 7970c59 commit a61122f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,16 @@ jobs:
- run: lein uberjar

- name: Setup test dependencies on Ubuntu
run: sudo apt install -y xvfb graphviz
run: sudo apt install -y graphviz
if: ${{ matrix.operating-system == 'ubuntu-latest' }}

- name: Setup test dependencies on macOS
run: brew install graphviz
if: ${{ matrix.operating-system == 'macOS-latest' }}

- name: Run regression tests on Ubuntu
run: /usr/bin/xvfb-run bash -x ./test.sh
run: bash -x ./test.sh
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
env:
DISPLAY: :99.0

- name: Run regression tests on macOS
run: bash -x ./test.sh
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ change log follows the conventions of

### Fixed

- Fix setting of headless mode (#50).

### Changed

## [0.1.3] - 2022-05-11
Expand Down
1 change: 1 addition & 0 deletions src/elle_cli/cli.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(System/setProperty "java.awt.headless" "true")
(ns elle_cli.cli
"History verification in CLI"
(:require [clojure.java.io :as io]
Expand Down

0 comments on commit a61122f

Please sign in to comment.