diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ba99926..3c232f61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,10 @@ jobs: cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} - name: :build run: ./gradlew build --stacktrace + - name: :smokeTest + uses: coactions/setup-xvfb@v1 + with: + run: ./gradlew :smokeTest - name: Upload artifacts uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4b3f2555..8d478393 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,6 +19,10 @@ jobs: cache-read-only: true - name: :build run: ./gradlew build + - name: :smokeTest + uses: coactions/setup-xvfb@v1 + with: + run: ./gradlew :smokeTest - name: Upload artifacts uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b729486..dd204f24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,12 @@ jobs: with: cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} cache-read-only: true + - name: :build + run: ./gradlew :build + - name: :smokeTest + uses: coactions/setup-xvfb@v1 + with: + run: ./gradlew :smokeTest - name: :publishMods run: ./gradlew publishMods -Prelease_channel=RELEASE env: