added git workflow for the tests #1
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 tests | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
ALLURE_JOB_RUN_ID: | |
description: ALLURE_JOB_RUN_ID service parameter. Leave blank. | |
ALLURE_USERNAME: | |
description: ALLURE_USERNAME service parameter. Leave blank. | |
env: | |
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }} | |
ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID }} | |
ALLURE_ENDPOINT: https://typescript.testops.cloud/ | |
ALLURE_PROJECT_ID: 1 | |
ALLURE_RESULTS: build/allure-results | |
jobs: | |
all-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install allurectl | |
uses: allure-framework/setup-allurectl@v1 | |
- name: Build with Gradle | |
run: allurectl watch -- ./gradlew clean test |