Skip to content

Commit 016df4b

Browse files
authored
Merge pull request #18 from mlr-org/ci
Switch to new CI
2 parents 4195867 + 26c61ba commit 016df4b

File tree

7 files changed

+94
-205
lines changed

7 files changed

+94
-205
lines changed

.Rbuildignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
^\.pre-commit-config\.yaml$
1717
^\.ccache$
1818
^\.github$
19-
^tic\.R$
2019
^codecov\.yml$
2120
^data-raw$

.github/workflows/pkgdown.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# pkgdown workflow of the mlr3 ecosystem v0.1.0
2+
# https://github.com/mlr-org/actions
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
release:
11+
types:
12+
- published
13+
workflow_dispatch:
14+
15+
name: pkgdown
16+
17+
jobs:
18+
pkgdown:
19+
runs-on: ubuntu-latest
20+
21+
concurrency:
22+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
23+
env:
24+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
25+
steps:
26+
- uses: actions/checkout@v3
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
32+
- uses: r-lib/actions/setup-r-dependencies@v2
33+
with:
34+
extra-packages: any::pkgdown, local::.
35+
needs: website
36+
37+
- name: Install template
38+
run: pak::pkg_install("mlr-org/mlr3pkgdowntemplate")
39+
shell: Rscript {0}
40+
41+
- name: Build site
42+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
43+
shell: Rscript {0}
44+
45+
- name: Deploy
46+
if: github.event_name != 'pull_request'
47+
uses: JamesIves/[email protected]
48+
with:
49+
clean: false
50+
branch: gh-pages
51+
folder: docs

.github/workflows/r-cmd-check.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# r cmd check workflow of the mlr3 ecosystem v0.1.0
2+
# https://github.com/mlr-org/actions
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
name: r-cmd-check
13+
14+
jobs:
15+
r-cmd-check:
16+
runs-on: ${{ matrix.config.os }}
17+
18+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
19+
20+
env:
21+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
config:
27+
- {os: ubuntu-latest, r: 'devel'}
28+
- {os: ubuntu-latest, r: 'release'}
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- uses: r-lib/actions/setup-r@v2
34+
with:
35+
r-version: ${{ matrix.config.r }}
36+
37+
- uses: r-lib/actions/setup-r-dependencies@v2
38+
with:
39+
extra-packages: any::rcmdcheck
40+
needs: check
41+
42+
- uses: r-lib/actions/check-r-package@v2

.github/workflows/tic.yml

Lines changed: 0 additions & 140 deletions
This file was deleted.

.github/workflows/update-tic.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# mlr3data
22

33
<!-- badges: start -->
4-
[![tic](https://github.com/mlr-org/mlr3data/workflows/tic/badge.svg?branch=main)](https://github.com/mlr-org/mlr3data/actions)
4+
[![r-cmd-check](https://github.com/mlr-org/mlr3data/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/mlr-org/mlr3data/actions/workflows/r-cmd-check.yml)
55
[![CRAN Status](https://www.r-pkg.org/badges/version/mlr3data)](https://CRAN.R-project.org/package=mlr3data)
66
[![StackOverflow](https://img.shields.io/badge/stackoverflow-mlr3-orange.svg)](https://stackoverflow.com/questions/tagged/mlr3)
77
[![Mattermost](https://img.shields.io/badge/chat-mattermost-orange.svg)](https://lmmisld-lmu-stats-slds.srv.mwn.de/mlr_invite/)

tic.R

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)