mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-01-04 05:27:06 +00:00
Compare commits
3 Commits
ruby-githu
...
r-github
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb9cbdab50 | ||
|
|
3ff367b764 | ||
|
|
4ebdcc0662 |
43
.github/workflows/samples-r-petstore.yaml
vendored
Normal file
43
.github/workflows/samples-r-petstore.yaml
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
name: Samples R Petstore
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'samples/client/petstore/R/**'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'samples/client/petstore/R/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build R
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- 'samples/client/petstore/R/'
|
||||||
|
services:
|
||||||
|
petstore-api:
|
||||||
|
image: swaggerapi/petstore
|
||||||
|
ports:
|
||||||
|
- 80:8080
|
||||||
|
env:
|
||||||
|
SWAGGER_HOST: http://petstore.swagger.io
|
||||||
|
SWAGGER_BASE_PATH: /v2
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: r-lib/actions/setup-r@v2
|
||||||
|
with:
|
||||||
|
r-version: 3.6.1
|
||||||
|
- uses: r-lib/actions/setup-r-dependencies@v2
|
||||||
|
with:
|
||||||
|
cache-version: 2
|
||||||
|
- name: Install curl
|
||||||
|
run: sudo apt-get install -y r-cran-curl
|
||||||
|
- name: build and test
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: |
|
||||||
|
# export _R_CHECK_FORCE_SUGGESTS_=false
|
||||||
|
/bin/bash build_and_test.bash
|
||||||
|
shell: bash
|
||||||
@@ -21,3 +21,5 @@
|
|||||||
#docs/*.md
|
#docs/*.md
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
# Then explicitly reverse the ignore rule for a single file:
|
||||||
#!docs/README.md
|
#!docs/README.md
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user