From 81e44e1b05603e370248351374d95acb66a34739 Mon Sep 17 00:00:00 2001 From: tylermorganwall Date: Sat, 27 Jul 2024 13:56:03 -0400 Subject: [PATCH] -Update GHA to work around rlas issue --- .github/workflows/rhub.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index 74ec7b05..92fb1c93 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -49,6 +49,8 @@ jobs: config: ${{ fromJson(needs.setup.outputs.containers) }} container: image: ${{ matrix.config.container }} + env: + RGL_USE_NULL: true steps: - uses: r-hub/actions/checkout@v1 @@ -56,6 +58,10 @@ jobs: with: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} + - name: Install rlas from GitHub + run: | + R -e "install.packages('remotes')" + R -e "remotes::install_github('r-lidar/rlas')" - uses: r-hub/actions/setup-deps@v1 with: token: ${{ secrets.RHUB_TOKEN }} @@ -74,6 +80,8 @@ jobs: fail-fast: false matrix: config: ${{ fromJson(needs.setup.outputs.platforms) }} + env: + RGL_USE_NULL: true steps: - uses: r-hub/actions/checkout@v1 @@ -85,6 +93,10 @@ jobs: with: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} + - name: Install rlas from GitHub + run: | + R -e "install.packages('remotes')" + R -e "remotes::install_github('r-lidar/rlas')" - uses: r-hub/actions/setup-deps@v1 with: job-config: ${{ matrix.config.job-config }} @@ -92,4 +104,4 @@ jobs: - uses: r-hub/actions/run-check@v1 with: job-config: ${{ matrix.config.job-config }} - token: ${{ secrets.RHUB_TOKEN }} + token: ${{ secrets.RHUB_TOKEN }} \ No newline at end of file