1 # Licensed to the Apache Software Foundation (ASF) under one
2 # or more contributor license agreements. See the NOTICE file
3 # distributed with this work for additional information
4 # regarding copyright ownership. The ASF licenses this file
5 # to you under the Apache License, Version 2.0 (the
6 # "License"); you may not use this file except in compliance
7 # with the License. You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing,
12 # software distributed under the License is distributed on an
13 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 # KIND, either express or implied. See the License for the
15 # specific language governing permissions and limitations
23 - ".github/workflows/r-without-arrow.yml"
27 - ".github/workflows/r-without-arrow.yml"
31 group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
32 cancel-in-progress: true
35 DOCKER_VOLUME_PREFIX: ".docker/"
36 ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
37 ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
41 name: "R package without arrow"
42 runs-on: ubuntu-latest
43 if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
49 R_IMAGE: ubuntu-gcc-release
52 - name: Checkout Arrow
53 uses: actions/checkout@v2
56 - name: Fetch Submodules and Tags
57 run: ci/scripts/util_checkout.sh
58 - name: Free Up Disk Space
59 run: ci/scripts/util_cleanup.sh
60 - name: Cache Docker Volumes
61 uses: actions/cache@v2
64 key: ubuntu-gcc-release-r-${{ hashFiles('cpp/**') }}
65 restore-keys: ubuntu-gcc-release-r-
67 uses: actions/setup-python@v1
71 run: pip install -e dev/archery[docker]
72 - name: Execute Docker Build
74 sudo sysctl -w kernel.core_pattern="core.%e.%p"
76 archery docker run -e LIBARROW_DOWNLOAD=FALSE -e LIBARROW_BUILD=FALSE -e TEST_R_WITHOUT_LIBARROW=TRUE -e NOT_CRAN=FALSE r
77 - name: Dump install logs
78 run: cat r/check/arrow.Rcheck/00install.out
80 - name: Dump test logs
81 run: cat r/check/arrow.Rcheck/tests/testthat.Rout*
83 - name: Save the test output
85 uses: actions/upload-artifact@v2
88 path: r/check/arrow.Rcheck/tests/testthat.Rout*
90 if: success() && github.event_name == 'push' && github.repository == 'apache/arrow'
91 continue-on-error: true
92 run: archery docker push r