world #273
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: Java CI | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
ALLURE_JOB_RUN_ID: | |
description: "Inner parameter for Allure TestOps" | |
required: false | |
ALLURE_USERNAME: | |
description: "Inner parameter for Allure TestOps" | |
required: false | |
env: | |
ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: 'gradle' | |
- uses: allure-framework/setup-allurectl@v1 | |
with: | |
allure-endpoint: https://demo.testops.cloud | |
allure-token: ${{ secrets.ALLURE_TOKEN }} | |
allure-project-id: 1064 | |
- name: Run Tests | |
run: allurectl watch -- ./gradlew clean test | |
env: | |
ALLURE_RESULTS: build/allure-results |