File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Samples Ruby
2+
3+ on :
4+ push :
5+ paths :
6+ - ' samples/client/echo_api/ruby-httpx/**'
7+ - ' samples/client/echo_api/ruby-faraday/**'
8+ - ' samples/client/echo_api/ruby-typhoeus/**'
9+ pull_request :
10+ paths :
11+ - ' samples/client/echo_api/ruby-httpx/**'
12+ - ' samples/client/echo_api/ruby-faraday/**'
13+ - ' samples/client/echo_api/ruby-typhoeus/**'
14+
15+ jobs :
16+ build :
17+ name : Build Ruby
18+ runs-on : ubuntu-latest
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ sample :
23+ - ' samples/client/echo_api/ruby-httpx/'
24+ - ' samples/client/echo_api/ruby-faraday/'
25+ - ' samples/client/echo_api/ruby-typhoeus/'
26+ steps :
27+ - uses : actions/checkout@v5
28+ - name : Setup node.js
29+ uses : actions/setup-node@v5
30+ - name : Run echo server
31+ run : |
32+ git clone https://github.com/wing328/http-echo-server -b openapi-generator-test-server
33+ (cd http-echo-server && npm install && npm start &)
34+ - uses : actions/setup-ruby@v1
35+ with :
36+ ruby-version : 3.2
37+ bundler-cache : true
38+ - name : Install bundle
39+ working-directory : ${{ matrix.sample }}
40+ run : bundle install
41+ - name : Run rspec
42+ working-directory : ${{ matrix.sample }}
43+ run : rspec
You can’t perform that action at this time.
0 commit comments