We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a70ee commit 0ec856dCopy full SHA for 0ec856d
1 file changed
.github/workflows/samples-typescript-client.yaml
@@ -69,6 +69,14 @@ jobs:
69
build:
70
name: Build projects
71
runs-on: ubuntu-latest
72
+ services:
73
+ petstore-api:
74
+ image: swaggerapi/petstore
75
+ ports:
76
+ - 80:8080
77
+ env:
78
+ SWAGGER_HOST: http://petstore.swagger.io
79
+ SWAGGER_BASE_PATH: /v2
80
strategy:
81
fail-fast: false
82
matrix:
@@ -107,6 +115,9 @@ jobs:
107
115
- samples/client/petstore/typescript-axios/tests/default/
108
116
steps:
109
117
- uses: actions/checkout@v5
118
+ - name: Add hosts to /etc/hosts
119
+ run: |
120
+ sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
110
121
- name: Set up JDK 17
111
122
uses: actions/setup-java@v4
112
123
with:
0 commit comments