Skip to content

Store test reports #133

Store test reports

Store test reports #133

name: Store test reports
concurrency: reports_store
on:
workflow_dispatch:
inputs:
store-reason:
description: Reason for which test reports should be stored.
required: true
repository:
description: Name of repository from which test reports should be fetched.
required: true
version:
description: Version of product which produced test reports.
required: true
workflow-run-id:
description: Workflow run identifier which contains test report artifacts.
required: true
jobs:
store-test-reports:
name: Download and store test reports.
runs-on:
group: Default
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# This should be the same as the one specified for on.pull_request.branches
ref: master
- name: Checkout actions
uses: actions/checkout@v4
with:
repository: pubnub/client-engineering-deployment-tools
ref: v1
token: ${{ secrets.GH_TOKEN }}
path: .github/.release/actions
- name: Checkout specifications
uses: actions/checkout@v4
with:
repository: pubnub/sdk-specifications
token: ${{ secrets.GH_TOKEN }}
path: specifications
- name: Process reports store request
uses: ./.github/.release/actions/actions/test-reports/store
with:
token: ${{ secrets.GH_TOKEN }}
store-reason: ${{ github.event.inputs['store-reason'] }}
repository: ${{ github.event.inputs.repository }}
version: ${{ github.event.inputs.version }}
workflow-run-id: ${{ github.event.inputs['workflow-run-id'] }}