Skip to content

Commit 13009eb

Browse files
committed
fix: Remove entrypoint.sh
1 parent bf3aa90 commit 13009eb

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ jobs:
2323
with:
2424
schema: 'http://127.0.0.1:5001/openapi.json'
2525
token: ${{ secrets.SCHEMATHESIS_TOKEN }}
26+
args: '-E success'

action.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,16 @@ runs:
5656
pip install schemathesis==${{ inputs.version }}
5757
fi
5858
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 }} \
6067
shell: bash
6168
env:
62-
SCHEMA: ${{ inputs.schema }}
63-
MAX_EXAMPLES: ${{ inputs.max-examples }}
64-
CHECKS: ${{ inputs.checks }}
65-
ARGS: ${{ inputs.args }}
6669
SCHEMATHESIS_BASE_URL: ${{ inputs.base-url }}
6770
SCHEMATHESIS_API_NAME: ${{ inputs.api-name }}
6871
SCHEMATHESIS_REPORT: ${{ inputs.report }}

entrypoint.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)