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 2d3082a commit 237e401Copy full SHA for 237e401
1 file changed
.github/workflows/samples-crystal.yaml
@@ -0,0 +1,34 @@
1
+name: Samples Crystal clients
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - samples/client/petstore/crystal/**
7
+ pull_request:
8
9
10
+jobs:
11
+ build:
12
+ name: Build Crystal projects
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ sample:
18
+ # clients
19
+ - samples/client/petstore/crystal/
20
+ services:
21
+ petstore-api:
22
+ image: swaggerapi/petstore
23
+ ports:
24
+ - 80:8080
25
+ env:
26
+ SWAGGER_HOST: http://petstore.swagger.io
27
+ SWAGGER_BASE_PATH: /v2
28
+ steps:
29
+ - uses: actions/checkout@v5
30
+ - name: Install Crystal
31
+ uses: crystal-lang/install-crystal@v1
32
+ - name: Run tests
33
+ run: crystal spec
34
+ working-directory: ${{ matrix.sample }}
0 commit comments