Skip to content

Commit

Permalink
disable sec. actions incl. X
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet authored Aug 28, 2023
1 parent a3d211b commit d876884
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ jobs:
r-version: ${{ matrix.r }}
- run: ln -s /Library/Frameworks/R.framework/Versions/3.6 /Library/Frameworks/R.framework/Versions/3.5
if: matrix.os == 'macos-latest'
- uses: GabrielBB/xvfb-action@v1.6
- uses: coactions/setup-xvfb@v1
with:
run: mvn -B test --file pom.xml
id: mvntest
continue-on-error: true
- run: sudo apt-get install imagemagick x11-xserver-utils libxrandr2
- run: export DISPLAY=:0
if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
- uses: OrbitalOwen/desktop-screenshot-action@0.1
if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
with:
file-name: 'test-${{ matrix.os }}-${{ matrix.java }}.jpg'
# - run: sudo apt-get install imagemagick x11-xserver-utils libxrandr2
# - run: export DISPLAY=:0
# if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
# - uses: OrbitalOwen/desktop-screenshot-action@0.1
# if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
# with:
# file-name: 'test-${{ matrix.os }}-${{ matrix.java }}.jpg'
- uses: codecov/codecov-action@v1
- if: steps.mvntest.outcome != 'success'
run: exit 1
Expand Down

0 comments on commit d876884

Please sign in to comment.