Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gipert committed Dec 18, 2024
1 parent 68276a9 commit b622b47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: setup and start xvfb
run: |
apt-get update
apt-get install -y xvfb
Xvfb :99 -screen 0 1920x1080x24 &
- name: Install pip dependencies for tests
# TODO: replace with a better way to manage test dependencies.
run: |
Expand All @@ -47,14 +54,18 @@ jobs:
make install
- name: Run full test suite
if: ${{ matrix.container_version != 'slim' }}
env:
DISPLAY: :99
run: |
cd build
ctest --output-on-failure --label-exclude 'vis'
ctest --output-on-failure
- name: Run minimal test suite
if: ${{ matrix.container_version == 'slim' }}
env:
DISPLAY: :99
run: |
cd build
ctest --output-on-failure --label-exclude 'extra|vis'
ctest --output-on-failure --label-exclude 'extra'
- name: Compare checked-in doc dump with current result
if: ${{ matrix.container_version != 'slim' }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/confinement/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ foreach(_mac ${_macros})
COMMAND remage-cli -g gdml/geometry.gdml -o test-out.root -- macros/_vis.mac
macros/${_mac} macros/_vis-export.mac)
set_tests_properties(confinement-vis/${_mac} PROPERTIES LABELS vis)
set_tests_properties(confinement-vis/${_mac} PROPERTIES SKIP_REGULAR_EXPRESSION
"couldn't open display")
# set_tests_properties(confinement-vis/${_mac} PROPERTIES SKIP_REGULAR_EXPRESSION
# "couldn't open display")
endforeach()

0 comments on commit b622b47

Please sign in to comment.