Skip to content

drop {assertthat} dependency (#243) #79

drop {assertthat} dependency (#243)

drop {assertthat} dependency (#243) #79

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# parallelize compilation (extra important for Linux, where CRAN doesn't supply pre-compiled binaries)
MAKEFLAGS: "-j4"
jobs:
test:
name: test (ES ${{ matrix.es_version }})
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
es_version:
- 1.7.6
- 2.4.6
- 5.6.16
- 6.0.1
- 6.8.15
- 7.1.1
- 7.2.1
- 7.3.2
- 7.4.2
- 7.5.2
- 7.6.2
- 7.7.1
- 7.8.1
- 7.9.3
- 7.10.2
- 7.11.2
- 7.12.1
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: release
- name: set up pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: run tests
shell: bash
run: |
export ES_VERSION=${{ matrix.es_version }}
$GITHUB_WORKSPACE/.ci/setup.sh
$GITHUB_WORKSPACE/.ci/install.sh
$GITHUB_WORKSPACE/setup_local.sh ${{ matrix.es_version }}
$GITHUB_WORKSPACE/.ci/test.sh
$GITHUB_WORKSPACE/.ci/report_to_covr.sh
all-successful:
if: always()
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/[email protected]
with:
jobs: ${{ toJSON(needs) }}