Skip to content

Commit

Permalink
Move custom section in preparation for wrapping a GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 20, 2021
1 parent 0611ed4 commit bd95740
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ jobs:

- uses: actions/checkout@v2

# Begin custom: before install
# End custom: before install

- uses: r-lib/actions/setup-r@v1
with:
install-r: false
Expand Down Expand Up @@ -249,9 +252,6 @@ jobs:
sudo ln -s $(which true) /usr/local/bin/qpdf
sudo ln -s $(which true) /usr/local/bin/checkbashisms
# Begin custom: before install
# End custom: before install

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:

- uses: actions/checkout@v2

# Begin custom: before install
# End custom: before install

- uses: r-lib/actions/setup-r@v1
with:
r-version: ${{ matrix.config.r }}
Expand Down Expand Up @@ -111,9 +114,6 @@ jobs:
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "${{matrix.config.os-version}}"))')
# Begin custom: before install
# End custom: before install

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE, type = .Platform$pkgType)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:

- uses: actions/checkout@v2

# Begin custom: before install
# End custom: before install

- uses: r-lib/actions/setup-r@v1
with:
install-r: false
Expand Down Expand Up @@ -82,9 +85,6 @@ jobs:
eval sudo $cmd
done < <(Rscript -e 'req <- remotes::system_requirements("ubuntu", "18.04"); if (length(req) > 0) cat(req, sep = "\n")')
# Begin custom: before install
# End custom: before install

- name: Install pkgdown sysdeps
if: runner.os == 'Linux'
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/revdep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:

- uses: actions/checkout@v2

# Begin custom: before install
# End custom: before install

- name: Use RSPM
run: |
mkdir -p /home/runner/work/_temp/Library
Expand All @@ -113,9 +116,6 @@ jobs:
cat .github/deps.sh
sudo sh < .github/deps.sh
# Begin custom: before install
# End custom: before install

- name: Install package
run: |
package <- "${{ matrix.package }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:

- uses: actions/checkout@v2

# Begin custom: before install
# End custom: before install

- uses: r-lib/actions/setup-r@v1
with:
install-r: false
Expand Down Expand Up @@ -65,9 +68,6 @@ jobs:
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "18.04"))')
# Begin custom: before install
# End custom: before install

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE, type = .Platform$pkgType)
Expand Down

0 comments on commit bd95740

Please sign in to comment.