Skip to content

Use correct proxy URL #11

Use correct proxy URL

Use correct proxy URL #11

Workflow file for this run

on:
push:
paths:
- "openapi*.yaml"
pull_request:
paths:
- "openapi*.yaml"
workflow_dispatch:
jobs:
schemathesis:
name: "Perform schemathesis checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: pip install schemathesis
- name: "Extract base url from openapi.yaml"
uses: mikefarah/yq@master
with:
cmd: echo "base_url=$(yq -r .servers[].url openapi.yaml)" >> $GITHUB_ENV
- run: schemathesis run ./openapi.yaml --base-url "${{ env.base_url }}" --checks all