Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Apr 24, 2024
1 parent 1ac07a7 commit b46343a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,35 @@ jobs:
# max-parallel: 2 #try to avoid races due to concurrent db access
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: '3.6'}
- {os: macOS-13, r: 'release'}
- {os: macOS-14, r: 'release'}
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'devel'}
- {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-20.04, r: 'release'}
- {os: ubuntu-20.04, r: 'oldrel-4'}
- {os: ubuntu-20.04, r: 'oldrel-4'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- if: runner.os == 'macos'
run: brew services start $(brew list --formula | grep mongodb-community)
run: |
brew tap mongodb/brew
brew install mongodb-community@7.0
brew services start $(brew list --formula | grep mongodb-community)
- if: runner.os == 'linux'
run: sudo systemctl restart mongod

- if: runner.os == 'windows'
run: |
Set-Service mongodb -StartupType Automatic
Start-Service -Name mongodb
Start-Service -Name MongoDB
- uses: r-lib/actions/setup-r@v2
with:
Expand Down

0 comments on commit b46343a

Please sign in to comment.