File tree 3 files changed +16
-3
lines changed
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 1
1
FROM python:3.9-slim
2
2
3
3
RUN python -m pip install --upgrade pip
4
- RUN pip install pipx
5
4
6
5
# 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
8
7
9
8
COPY entrypoint.sh /entrypoint.sh
10
9
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ if [[ "$openapi_url" != "NOT_SPECIFIED" ]]; then
24
24
openapi_document_path_or_url_arg=" --url=${openapi_url} "
25
25
fi
26
26
27
- pipx install " ${version_arg} " --include-deps
27
+ PATH=$PATH :/github/home/.local/bin
28
+ pip install " ${version_arg} "
28
29
openapi-python-client generate ${config_arg} ${openapi_document_path_or_url_arg}
You can’t perform that action at this time.
0 commit comments