diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5e9a923..e7164e0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -33,11 +33,14 @@ jobs: - uses: actions/checkout@v2 - if: runner.os == 'macos' - run: brew services start mongodb-community + run: brew services start $(brew list --formula | grep mongodb-community) - if: runner.os == 'linux' run: sudo systemctl restart mongod + - if: runner.os == 'windows' + run: net start MongoDB + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }}