Skip to content

Commit 51ae844

Browse files
committed
test on non-windows only
1 parent 5a13c0d commit 51ae844

File tree

2 files changed

+47
-47
lines changed

2 files changed

+47
-47
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
config:
2222
- {os: macOS-latest, r: 'devel'}
2323
- {os: macOS-latest, r: 'release'}
24-
- {os: windows-latest, r: 'devel'}
25-
- {os: windows-latest, r: 'release'}
26-
- {os: windows-latest, r: 'oldrel'}
24+
# - {os: windows-latest, r: 'devel'}
25+
# - {os: windows-latest, r: 'release'}
26+
# - {os: windows-latest, r: 'oldrel'}
2727
- {os: ubuntu-20.04, r: 'devel'}
2828
- {os: ubuntu-20.04, r: 'release'}
2929
- {os: ubuntu-20.04, r: 'oldrel'}

.github/workflows/Test-coverage.yaml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -54,54 +54,54 @@ jobs:
5454
run: covr::codecov(type = "all")
5555
shell: Rscript {0}
5656

57-
test-coverage-windows:
58-
name: "Windows"
59-
if: "! contains(github.event.head_commit.message, '[ci skip]')"
60-
runs-on: windows-latest
61-
env:
62-
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
63-
steps:
64-
- uses: actions/checkout@v2
57+
# test-coverage-windows:
58+
# name: "Windows"
59+
# if: "! contains(github.event.head_commit.message, '[ci skip]')"
60+
# runs-on: windows-latest
61+
# env:
62+
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
63+
# steps:
64+
# - uses: actions/checkout@v2
6565

66-
- name: Set path for RTools 4.0
67-
run: |
68-
echo "::add-path::C:/rtools40/usr/bin"
69-
echo "::add-path::C:/rtools40/mingw64/bin"
70-
shell: powershell
66+
# - name: Set path for RTools 4.0
67+
# run: |
68+
# echo "::add-path::C:/rtools40/usr/bin"
69+
# echo "::add-path::C:/rtools40/mingw64/bin"
70+
# shell: powershell
7171

72-
- name: Install mingw32-make and check toolchain path
73-
if: runner.os == 'Windows'
74-
run: |
75-
pacman -Syu mingw-w64-x86_64-make --noconfirm
76-
g++ --version
77-
Get-Command g++ | Select-Object -ExpandProperty Definition
78-
mingw32-make --version
79-
Get-Command mingw32-make | Select-Object -ExpandProperty Definition
80-
shell: powershell
72+
# - name: Install mingw32-make and check toolchain path
73+
# if: runner.os == 'Windows'
74+
# run: |
75+
# pacman -Syu mingw-w64-x86_64-make --noconfirm
76+
# g++ --version
77+
# Get-Command g++ | Select-Object -ExpandProperty Definition
78+
# mingw32-make --version
79+
# Get-Command mingw32-make | Select-Object -ExpandProperty Definition
80+
# shell: powershell
8181

82-
- uses: r-lib/actions/setup-r@master
83-
with:
84-
r-version: 'release'
82+
# - uses: r-lib/actions/setup-r@master
83+
# with:
84+
# r-version: 'release'
8585

86-
- uses: r-lib/actions/setup-pandoc@master
86+
# - uses: r-lib/actions/setup-pandoc@master
8787

88-
- name: Query dependencies
89-
run: |
90-
install.packages('remotes')
91-
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
92-
shell: Rscript {0}
88+
# - name: Query dependencies
89+
# run: |
90+
# install.packages('remotes')
91+
# saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
92+
# shell: Rscript {0}
9393

94-
- name: Install dependencies
95-
run: |
96-
install.packages(c("posterior", "cmdstanr", "remotes"),repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
97-
cmdstanr::install_cmdstan(cores = 2, overwrite = TRUE, release_url = "https://github.com/stan-dev/cmdstan/releases/download/v2.24.1/cmdstan-2.24.1.tar.gz")
98-
remotes::install_deps(dependencies = TRUE)
99-
remotes::install_cran("covr")
100-
remotes::install_cran("gridExtra")
101-
shell: Rscript {0}
94+
# - name: Install dependencies
95+
# run: |
96+
# install.packages(c("posterior", "cmdstanr", "remotes"),repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
97+
# cmdstanr::install_cmdstan(cores = 2, overwrite = TRUE, release_url = "https://github.com/stan-dev/cmdstan/releases/download/v2.24.1/cmdstan-2.24.1.tar.gz")
98+
# remotes::install_deps(dependencies = TRUE)
99+
# remotes::install_cran("covr")
100+
# remotes::install_cran("gridExtra")
101+
# shell: Rscript {0}
102102

103-
- name: Test coverage
104-
run: |
105-
options(covr.gcov = 'C:/rtools40/mingw64/bin/gcov.exe');
106-
covr::codecov(type = "all")
107-
shell: Rscript {0}
103+
# - name: Test coverage
104+
# run: |
105+
# options(covr.gcov = 'C:/rtools40/mingw64/bin/gcov.exe');
106+
# covr::codecov(type = "all")
107+
# shell: Rscript {0}

0 commit comments

Comments
 (0)