Skip to content

[HANSEL-120] Move Payment properties, files into Payment module #266

[HANSEL-120] Move Payment properties, files into Payment module

[HANSEL-120] Move Payment properties, files into Payment module #266

name: Gradle Tests
on:
pull_request:
branches:
- main
- develop
- 'feature/*'
- 'hotfix/*'
- 'release/*'
- 'PEAUTY-*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [17]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
lfs: false
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
- name: Create .env file
run: |
echo "${{ secrets.ALL_SECRET }}" > .env
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.8
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ matrix.java-version }}-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ matrix.java-version }}-${{ runner.os }}
- name: Run tests
env:
SPRING_PROFILES_ACTIVE: local
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
run: |
./gradlew -g gradle/caches/ \
--build-cache --no-daemon \
test