Skip to content

Commit

Permalink
Drop test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Oct 29, 2023
1 parent 1cf95aa commit 8757913
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,20 @@ name: "Integration tests"
on:
issue_comment:
types: [ created ]
# XXX: Drop.
pull_request:
permissions:
contents: read
jobs:
run-integration-tests:
name: On-demand integration test
# XXX: Enable.
#if: |
# github.event.issue.pull_request && contains(github.event.comment.body, '/integration-test')
if: |
github.event.issue.pull_request && contains(github.event.comment.body, '/integration-test')
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
# XXX: Enable.
#ref: refs/pull/${{ github.event.issue.number }}/head
ref: refs/pull/${{ github.event.issue.number }}/head
- name: Set up JDK
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
Expand All @@ -32,10 +28,5 @@ jobs:
cache: maven
- name: Install project to local Maven repository
run: mvn -T1C install -DskipTests -Dverification.skip
- name: Quick test to make sure that Xvfb is present
# XXX: Drop this step.
run: |
echo "XXX_${DISPLAY}_XXX"
xvfb-run -- sh -c 'echo "XXX_${DISPLAY}_XXX"'
- name: Run integration test
run: xvfb-run ./integration-tests/checkstyle-10.12.4.sh

0 comments on commit 8757913

Please sign in to comment.