Skip to content

Commit 60b1acd

Browse files
committed
chore: update CI configuration and add Chrome setup for testing
- Added a step to set up Chrome in the GitHub Actions workflow for improved browser testing capabilities. - Removed unnecessary xvfb-run commands from the CI jobs to streamline the test execution process. Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
1 parent e495967 commit 60b1acd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ runs:
2525
libboost-dev \
2626
libboost-system-dev
2727
28+
- name: Setup Chrome
29+
uses: browser-actions/setup-chrome@v2
30+
2831
- name: Install extra packages
2932
if: inputs.extra-packages != ''
3033
shell: bash

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run tests
4545
run: |
4646
cd ${{github.workspace}}/build
47-
xvfb-run -a --server-args="-screen 0 1024x768x24 -ac +extension GLX +render -noreset" ctest --output-on-failure --verbose --timeout ${{ env.CTEST_TIMEOUT }}
47+
ctest --output-on-failure --verbose --timeout ${{ env.CTEST_TIMEOUT }}
4848
4949
- name: Upload test results
5050
if: always()
@@ -92,7 +92,7 @@ jobs:
9292
elif [ "${{ matrix.sanitizer }}" = "tsan" ]; then
9393
export TSAN_OPTIONS="abort_on_error=1"
9494
fi
95-
xvfb-run -a --server-args="-screen 0 1024x768x24 -ac +extension GLX +render -noreset" ctest --output-on-failure --verbose --timeout ${{ env.CTEST_TIMEOUT }}
95+
ctest --output-on-failure --verbose --timeout ${{ env.CTEST_TIMEOUT }}
9696
9797
- name: Upload sanitizer results
9898
if: always()
@@ -120,7 +120,7 @@ jobs:
120120
121121
- name: Generate coverage report
122122
run: |
123-
xvfb-run -a --server-args="-screen 0 1024x768x24 -ac +extension GLX +render -noreset" make coverage
123+
make coverage
124124
125125
- name: Upload HTML coverage reports
126126
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)