File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
schema : ' http://127.0.0.1:5001/openapi.json'
25
25
token : ${{ secrets.SCHEMATHESIS_TOKEN }}
26
+ args : ' -E success'
Original file line number Diff line number Diff line change @@ -56,13 +56,16 @@ runs:
56
56
pip install schemathesis==${{ inputs.version }}
57
57
fi
58
58
shell: bash
59
- - run : ./entrypoint.sh
59
+ - run : |
60
+ source env/bin/activate
61
+ schemathesis run \
62
+ ${{ inputs.schema }} \
63
+ --hypothesis-database=:memory: \
64
+ --hypothesis-max-examples=${{ inputs.max-examples }} \
65
+ --checks=${{ inputs.checks }} \
66
+ ${{ inputs.args }} \
60
67
shell: bash
61
68
env:
62
- SCHEMA : ${{ inputs.schema }}
63
- MAX_EXAMPLES : ${{ inputs.max-examples }}
64
- CHECKS : ${{ inputs.checks }}
65
- ARGS : ${{ inputs.args }}
66
69
SCHEMATHESIS_BASE_URL: ${{ inputs.base-url }}
67
70
SCHEMATHESIS_API_NAME: ${{ inputs.api-name }}
68
71
SCHEMATHESIS_REPORT: ${{ inputs.report }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments