Skip to content

Merge pull request #169 from embulk/add-column-options-doc #64

Merge pull request #169 from embulk/add-column-options-doc

Merge pull request #169 from embulk/add-column-options-doc #64

Workflow file for this run

name: Check
on: [ pull_request, push ]
jobs:
check:
runs-on: ubuntu-latest
# push: always run.
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
matrix:
jruby_version:
- 9.3.15.0
- 9.4.8.0
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
- name: download jruby
run: "curl -L -o jruby.jar https://repo1.maven.org/maven2/org/jruby/jruby-complete/${{ matrix.jruby_version }}/jruby-complete-${{ matrix.jruby_version }}.jar"
#
# For avoiding permission denied. install gems into `gems` directory
#
- name: bundle install
run: "env GEM_HOME=gems java -jar jruby.jar -S bundle install"
- name: install embulk.jar
run: "curl -L -o embulk.jar https://github.com/embulk/embulk/releases/download/v0.11.4/embulk-0.11.4.jar"
- name: rake test
run: 'env GEM_HOME=gems RUBYOPT="-r ./embulk.jar -r rubygems" java -jar jruby.jar -S bundle exec rake test'