WIP: [docs] [ci] update website, move files out of source control #73
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# run by clicking buttons in the GitHub Actions UI | |
workflow_dispatch: | |
inputs: | |
deploy-docs: | |
description: 'Update the docs site?' | |
required: true | |
type: boolean | |
# 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: | |
build-docs: | |
uses: ./.github/workflows/build-docs.yaml | |
with: | |
#deploy: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || (github.event_name == 'workflow_dispatch' && inputs.deploy-docs == true) }} | |
deploy: true | |
secrets: inherit | |
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/alls-green@v1.2.2 | |
with: | |
jobs: ${{ toJSON(needs) }} |