Skip to content

Commit

Permalink
use smoke testing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Nov 5, 2024
1 parent 3fa9222 commit 857edb1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 857edb1

Please sign in to comment.