mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
QA workflow.
This commit is contained in:
parent
60663a3535
commit
dd67b0600d
52
.github/workflows/qa.yml
vendored
Normal file
52
.github/workflows/qa.yml
vendored
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
name: QA
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
type: string
|
||||||
|
description: Branch name
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout firebird-qa
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
repository: FirebirdSQL/firebird-qa
|
||||||
|
path: firebird-qa
|
||||||
|
|
||||||
|
- name: Download firebird installer
|
||||||
|
id: download-artifact
|
||||||
|
uses: dawidd6/action-download-artifact@v2
|
||||||
|
with:
|
||||||
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
workflow: main.yml
|
||||||
|
workflow_conclusion: success
|
||||||
|
branch: ${{ github.event.inputs.branch }}
|
||||||
|
name: firebird-linux-x64
|
||||||
|
name_is_regexp: false
|
||||||
|
path: firebird-installer
|
||||||
|
|
||||||
|
- name: Run firebird-qa
|
||||||
|
run: |
|
||||||
|
export FBQA_INSTALLER=$(echo ./firebird-installer/*.tar.gz)
|
||||||
|
export FBQA_OUT=out
|
||||||
|
./firebird-qa/run-docker.sh
|
||||||
|
|
||||||
|
- name: Update summary
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
cat out/md_report.md >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
|
- name: Upload result
|
||||||
|
uses: actions/upload-artifact@main
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
name: firebird-qa
|
||||||
|
path: out/
|
Loading…
Reference in New Issue
Block a user