trigger build failure #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Samples R | ||
on: | ||
push: | ||
paths: | ||
- 'samples/client/echo_api/r/**' | ||
pull_request: | ||
paths: | ||
- 'samples/client/echo_api/r/**' | ||
jobs: | ||
build: | ||
name: Build R | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
- 'samples/client/echo_api/r/' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup node.js | ||
uses: actions/setup-node@v4 | ||
- name: Run echo server | ||
run: | | ||
git clone https://github.com/wing328/http-echo-server -b openapi-generator-test-server | ||
(cd http-echo-server && npm install && npm start &) | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: 3.6.1 | ||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
working-directory: ${{ matrix.sample }} | ||
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 |