Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check
on: [ pull_request, push ]
jobs:
check:
runs-on: ubuntu-latest
# push: always run.
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"
- name: Check
run: ./gradlew --info --stacktrace test
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests
path: ./build/reports/tests/test
- name: Generate JaCoCo test report
run: ./gradlew jacocoTestReport coveralls
- uses: actions/upload-artifact@v4
with:
name: jacoco
path: ./build/reports/jacoco/test
15 changes: 0 additions & 15 deletions .github/workflows/test.yml

This file was deleted.