Skip to content

Whitespace PR

Whitespace PR #201

name: "Test Bruno Collection"
env:
python_version: "3.14"
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
build-and-run:
name: "Deploy app and run bruno"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: "Setup Python project"
uses: ./.github/actions/setup-python-project
with:
python-version: ${{ env.python_version }}
- name: "Start app"
uses: ./.github/actions/start-app
with:
python-version: ${{ env.python_version }}
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: '20'
- name: Install Bruno CLI
working-directory: bruno
run: npm ci --ignore-scripts
- name: "Run Bruno"
working-directory: bruno/gateway-api/collections/Steel_Thread
run: npx bru run --env local --reporter-html results.html --reporter-junit results.xml
- name: "Upload HTML results"
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: bruno-results
path: bruno/gateway-api/collections/Steel_Thread/results.html
retention-days: 30
- name: "Publish results"
if: always()
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
with:
paths: bruno/gateway-api/collections/Steel_Thread/results.xml