Skip to content

Commit

Permalink
Update iroha2-allure.yml
Browse files Browse the repository at this point in the history
add env var into allure job

Signed-off-by: alexstroke1 <strokov@soramitsu.co.jp>
  • Loading branch information
alexstroke1 authored Nov 7, 2024
1 parent 1799db1 commit c1eb384
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/iroha2-allure.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Iroha2-java upload tests results to Soramitsu TestOps

on:
pull_request:
branches: [ iroha2-dev, iroha2-main ]
workflow_dispatch:
inputs:
GITHUB_TESTS_ENDPOINT:
Expand All @@ -21,12 +19,9 @@ on:
required: false

env:
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
IROHA_IMAGE_TAG: "dev"
ALLURE_RESULTS: "${{ github.workspace }}/modules/client/build/allure-results"
GITHUB_TESTS_ENDPOINT: ${{ github.event.inputs.GITHUB_TESTS_ENDPOINT || 'https://soramitsu.testops.cloud' }}
GITHUB_TESTS_BROWSER: ${{ github.event.inputs.GITHUB_TESTS_BROWSER || 'chrome' }}
ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID || '' }}
ALLURE_USERNAME: ${{ github.event.inputs.ALLURE_USERNAME || '' }}
ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID }}


jobs:
Expand All @@ -47,7 +42,7 @@ jobs:
allure-project-id: 1
- name: Build with Gradle
run: |
./gradlew clean test --continue
allurectl watch -- ./gradlew clean test --continue
printenv | grep GITHUB_TESTS_
env:
GITHUB_TESTS_ENDPOINT: ${{ github.event.inputs.GITHUB_TESTS_ENDPOINT }}
Expand Down

0 comments on commit c1eb384

Please sign in to comment.