qa.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: QA
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. branch:
  6. type: string
  7. description: Branch name
  8. required: true
  9. jobs:
  10. test:
  11. name: Test
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Checkout firebird-qa
  15. uses: actions/checkout@v4
  16. with:
  17. fetch-depth: 1
  18. repository: FirebirdSQL/firebird-qa
  19. path: firebird-qa
  20. - name: Download firebird installer
  21. id: download-artifact
  22. uses: dawidd6/action-download-artifact@v6
  23. with:
  24. github_token: ${{secrets.GITHUB_TOKEN}}
  25. workflow: main.yml
  26. workflow_conclusion: success
  27. branch: ${{ github.event.inputs.branch }}
  28. name: firebird-linux-x64
  29. name_is_regexp: false
  30. path: firebird-installer
  31. - name: Run firebird-qa
  32. run: |
  33. export FBQA_INSTALLER=$(echo ./firebird-installer/*.tar.gz)
  34. export FBQA_OUT=out
  35. ./firebird-qa/run-docker.sh --timeout 250 ./tests/ | tee out/out.txt
  36. - name: Update summary
  37. if: always()
  38. run: |
  39. cat out/md_report.md >> $GITHUB_STEP_SUMMARY
  40. - name: Upload result
  41. uses: actions/upload-artifact@main
  42. if: always()
  43. with:
  44. name: firebird-qa
  45. path: out/