Add additional test cases (#9) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jobhub CI | |
on: [push, pull_request] | |
jobs: | |
show-info: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Display Environment Info | |
run: | | |
echo "Operating System: $(uname)" | |
echo "Commit SHA: $GITHUB_SHA" | |
echo "Git Ref: $GITHUB_REF" | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Test with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: test | |