Skip to content

Commit 0d94418

Browse files
author
Johannes Otepka
committed
enable mongodb for slurm test environment as well
1 parent 84009a6 commit 0d94418

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ jobs:
132132
pip install --only-binary :all: matplotlib
133133
134134
- name: Start MongoDB
135-
if: ${{ (! matrix.runs_on) && (matrix.cluster_type != 'slurm') }} # only under linux/ubuntu
135+
if: ${{ ! matrix.runs_on }} # only under linux/ubuntu
136136
uses: supercharge/mongodb-github-action@1.12.1 # uses latest mongodb per default
137137

138138
- name: Install pymongo package
139-
if: ${{ (! matrix.runs_on) && (matrix.cluster_type != 'slurm') }} # only under linux/ubuntu
139+
if: ${{ ! matrix.runs_on }} # only under linux/ubuntu
140140
run: pip install pymongo
141141

142142
- name: Try to connect to mongodb
143-
if: ${{ (! matrix.runs_on) && (matrix.cluster_type != 'slurm') }} # only under linux/ubuntu
143+
if: ${{ ! matrix.runs_on }} # only under linux/ubuntu
144144
run: |
145145
python3 <<EOF
146146
from pymongo import MongoClient

0 commit comments

Comments
 (0)