Merge pull request #211 from Kernel360/fix/#178/reply #18
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: Run Test Code For Check | |
on: | |
push: | |
branches: [ "develop" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Set environment values | |
run: | | |
cd ./ | |
touch ./.env | |
echo "${{ secrets.ENV }}" > ./.env | |
shell: bash | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4.0.0 | |
- name: Run Tests with Gradle | |
run: ./gradlew test |