Skip to content

Fix R2js quotes with 1e-4 that was translated to 0.0001 #175

Fix R2js quotes with 1e-4 that was translated to 0.0001

Fix R2js quotes with 1e-4 that was translated to 0.0001 #175

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ java21 ]
tags: [ '*.*' ]
pull_request:
branches: [ java21 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 21
distribution: 'graalvm'
components: 'js'
- run: mvn -B compile -DskipTests=true --file pom.xml
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [21]
r: [3.6, oldrel, release, devel, next]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
distribution: 'graalvm'
components: 'js'
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r }}
- run: ln -s /Library/Frameworks/R.framework/Versions/3.6 /Library/Frameworks/R.framework/Versions/3.5
if: matrix.os == 'macos-latest'
- uses: coactions/setup-xvfb@v1
with:
run: mvn -B test --file pom.xml
id: mvntest
continue-on-error: true
# - run: sudo apt-get install imagemagick x11-xserver-utils libxrandr2
# - run: export DISPLAY=:0
# if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
# - uses: OrbitalOwen/desktop-screenshot-action@0.1
# if: matrix.os == 'ubuntu-latest' && steps.mvntest.outcome != 'success'
# with:
# file-name: 'test-${{ matrix.os }}-${{ matrix.java }}.jpg'
- uses: codecov/codecov-action@v1
- if: steps.mvntest.outcome != 'success'
run: exit 1
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 21
distribution: 'graalvm'
components: 'js'
- run: mvn -B package -DskipTests=true --file pom.xml
- uses: actions/upload-artifact@v2
with:
path: target
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/rsession.jar
lib/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}