File tree Expand file tree Collapse file tree 3 files changed +54
-1
lines changed
samples/client/petstore/clojure Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Samples Clojure Client
2+
3+ on :
4+ push :
5+ paths :
6+ - samples/client/petstore/clojure/**
7+ pull_request :
8+ paths :
9+ - samples/client/petstore/clojure/**
10+ jobs :
11+ build :
12+ name : Build Clojure Client (JDK11)
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ sample :
18+ - samples/client/petstore/clojure/
19+ services :
20+ petstore-api :
21+ image : swaggerapi/petstore
22+ ports :
23+ - 80:8080
24+ env :
25+ SWAGGER_HOST : http://petstore.swagger.io
26+ SWAGGER_BASE_PATH : /v2
27+ steps :
28+ - uses : actions/checkout@v5
29+ - name : Add hosts to /etc/hosts
30+ run : |
31+ sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
32+ - uses : actions/setup-java@v5
33+ with :
34+ distribution : ' temurin'
35+ java-version : 11
36+ - name : Cache maven dependencies
37+ uses : actions/cache@v4
38+ env :
39+ cache-name : maven-repository
40+ with :
41+ path : |
42+ ~/.m2
43+ key : ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
44+ - name : Install Leiningen (if using Leiningen)
45+ run : |
46+ curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > lein
47+ chmod +x lein
48+ sudo mv lein /usr/local/bin/
49+ - name : Run tests (Leiningen)
50+ working-directory : ${{ matrix.sample }}
51+ run : lein test
Original file line number Diff line number Diff line change 120120 (cd samples/client/petstore/scala-sttp && mvn integration-test)
121121 (cd samples/client/petstore/scala-sttp-circe && mvn integration-test)
122122 (cd samples/client/petstore/scala-sttp4 && mvn integration-test)
123- (cd samples/client/petstore/clojure && mvn integration-test)
124123
125124fi
Original file line number Diff line number Diff line change 2121#docs/*.md
2222# Then explicitly reverse the ignore rule for a single file:
2323#!docs/README.md
24+ #
25+ #
26+ #
You can’t perform that action at this time.
0 commit comments