File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Run Checks
2+
3+ on :
4+ push
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : openapi-generators/openapi-python-client-action@updates
12+ with :
13+ openapi-url : https://raw.githubusercontent.com/openapi-generators/openapi-python-client/main/end_to_end_tests/openapi.json
Original file line number Diff line number Diff line change 11FROM python:3.9-slim
22
33RUN python -m pip install --upgrade pip
4- RUN pip install pipx
54
65# Sets the user to the same user that the workflow runner uses so that it can access the generated client
7- USER 1001
6+ USER 1001
87
98COPY entrypoint.sh /entrypoint.sh
109
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ if [[ "$openapi_url" != "NOT_SPECIFIED" ]]; then
2424 openapi_document_path_or_url_arg=" --url=${openapi_url} "
2525fi
2626
27- pipx install " ${version_arg} " --include-deps
27+ PATH=$PATH :/github/home/.local/bin
28+ pip install " ${version_arg} "
2829openapi-python-client generate ${config_arg} ${openapi_document_path_or_url_arg}
You can’t perform that action at this time.
0 commit comments