fix: Fix test module workflow

This commit is contained in:
2022-10-17 13:53:36 +03:00
parent a5d0069160
commit 1a1c31d4a9

View File

@@ -7,6 +7,11 @@ on:
description: "Using for choice specified module when test application."
required: true
type: string
secrets:
SECRET_GITHUB_TOKEN:
required: true
SECRET_GITHUB_USERNAME:
required: true
jobs:
api-test-module-workflow:
@@ -22,4 +27,7 @@ jobs:
run: chmod +x gradlew
- name: Test application with Gradle
run: ./gradlew test -p ${{ inputs.MODULE_NAME }}
run: ./gradlew test -p ${{ inputs.MODULE_NAME }}
env:
GITHUB_USERNAME: ${{ secrets.SECRET_GITHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }}