Skip to content
file-text

GitHub Action

send-to-allure-server-action

1 Latest version

send-to-allure-server-action

file-text

send-to-allure-server-action

Greet someone and record the time

Installation

Copy and paste the following snippet into your .yml file.

              

- name: send-to-allure-server-action

uses: Xotabu4/send-to-allure-server-action@1

Learn more about this action in Xotabu4/send-to-allure-server-action

Choose a version

send-to-allure-server-action

Compresses allure-results, sends to kochetkov-ma/allure-server , and triggers allure report generation on it. Result of this action - is URL to generated report.

Works for any test project languages (java, .net, js/ts, python, etc), for any testing frameworks (junit, pytest, cucumber, mocha, jest ...) that has allure reporter configured.

Inputs

allure-server-url

Required Full url of your deployed allure-server


path

Use this option to group test reports. All reports with same path will have common allure history. Also it used as url path to access latest report. You can specify branch name here, or project name.

Default - your repo name


username

If your allure-server has basic auth enabled, specify username here


password

If your allure-server has basic auth enabled, specify password here


allure-results

Path to your allure-results folder. This folder will be sent to server.

Default - ./allure-results

Outputs

report-url

URL of generated Allure report.

Example usage

    - name: Send Results and Generate Allure Report
      uses: Xotabu4/send-to-allure-server-action@1
      # always() needed because we want report for failed tests as well
      if: ${{ always() }}
      with:
        allure-server-url: 'http://my-allure-server.com:5001/'