Skip to content

hapi.f5labs.dev - Functional Testing #21

hapi.f5labs.dev - Functional Testing

hapi.f5labs.dev - Functional Testing #21

name: "hapi.f5labs.dev - Functional Testing"
on: workflow_dispatch
permissions:
contents: read
jobs:
run-newman-tests:
permissions:
statuses: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: api.github.com:443 github.com:443 hapi.f5labs.dev:443
- name: Set commit status as pending
uses: myrotvorets/set-commit-status-action@6743fef4842e09c5353d1c375ce886100f984e80 # master
with:
sha: ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
status: pending
context: ${{ github.workflow }}
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: matt-ball/newman-action@d4b17b1f5b137507e65c9426171155f95caec012 # master
with:
collection: tests/hapi/hapi-newman-tests-collection.json
environment: tests/hapi/hapi-newman-tests-environment.json
- name: Set final commit status
uses: myrotvorets/set-commit-status-action@6743fef4842e09c5353d1c375ce886100f984e80 # master
if: always()
with:
sha: ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
context: ${{ github.workflow }}