Skip to content

Commit

Permalink
build: replace xvf-action (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoison authored Feb 5, 2023
1 parent be6c2d3 commit d495638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,13 @@ jobs:
- name: Build and Test Java 8
if: ${{ matrix.Java == '8' }}
# We need a virtual X11 for the Eclipse unit tests
uses: GabrielBB/xvfb-action@v1.6
with:
run: |
mvn -B test -pl infinitest-lib,infinitest-runner -am
run: |
xvfb-run -a mvn -B test -pl infinitest-lib,infinitest-runner -am
- name: Build and Test Java > 8
if: ${{ matrix.Java != '8' }}
# We need a virtual X11 for the Eclipse unit tests
uses: GabrielBB/xvfb-action@v1.6
with:
run: |
mvn -B test
run: |
xvfb-run -a mvn -B test
codeql-analysis:
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ jobs:
sudo apt-get install -y gtk2.0 libxtst6
- name: Build and Test
# We need a virtual X11 for the Eclipse unit tests
uses: GabrielBB/xvfb-action@v1
with:
run: |
mvn -f ./infinitest/pom.xml -B install -pl infinitest-eclipse,infinitest-intellij -am -P release -Dkeystore-password=${{ secrets.KEYSTORE_PASSWORD }} -Dkeystore-file=../keystore.jks -DskipTests=true
run: |
xvfb-run -a mvn -f ./infinitest/pom.xml -B install -pl infinitest-eclipse,infinitest-intellij -am -P release -Dkeystore-password=${{ secrets.KEYSTORE_PASSWORD }} -Dkeystore-file=../keystore.jks -DskipTests=true
# Upload the plugins artifacts to the release
- name: Get release
Expand Down

0 comments on commit d495638

Please sign in to comment.