@@ -17,17 +17,17 @@ jobs:
17
17
- name : Checkout OperationsGateway API
18
18
uses : actions/checkout@v3
19
19
20
- - name : Setup Python
21
- uses : actions/setup-python@v4
22
- with :
23
- python-version : " 3.11"
24
-
25
20
# Install dependencies of python-ldap
26
21
- name : Install python-ldap dependencies
27
22
run : |
28
23
sudo apt-get update
29
24
sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
30
25
26
+ - name : Setup Python
27
+ uses : actions/setup-python@v4
28
+ with :
29
+ python-version : " 3.11"
30
+
31
31
- name : Load Pip cache
32
32
uses : actions/cache@v3
33
33
with :
51
51
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
52
52
sudo apt-get update
53
53
sudo apt-get install -y mongodb-database-tools
54
+
54
55
# Read the database name from the config file and store it in an environment variable
55
56
- name : Get database name from ci_config.yml
56
57
run : echo "DATABASE_NAME=$(grep database_name .github/ci_config.yml | cut -d ':' -f 2 | tr -d '[:space:]')" >> $GITHUB_ENV
61
62
with :
62
63
path : ~/.cache/pypoetry
63
64
key : ${{ runner.os }}-poetry-3.11-${{ hashFiles('poetry.lock') }}
65
+ - name : Install dependencies
66
+ run : poetry install --without simulated-data
64
67
65
68
# Setup minio and create bucket
66
69
- name : Setup minio
@@ -132,6 +135,12 @@ jobs:
132
135
with :
133
136
python-version : " 3.11"
134
137
138
+ # Install dependencies of python-ldap
139
+ - name : Install python-ldap dependencies
140
+ run : |
141
+ sudo apt-get update
142
+ sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
143
+
135
144
- name : Checkout OperationsGateway API
136
145
uses : actions/checkout@v3
137
146
@@ -161,6 +170,12 @@ jobs:
161
170
with :
162
171
python-version : " 3.11"
163
172
173
+ # Install dependencies of python-ldap
174
+ - name : Install python-ldap dependencies
175
+ run : |
176
+ sudo apt-get update
177
+ sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
178
+
164
179
- name : Checkout OperationsGateway API
165
180
uses : actions/checkout@v3
166
181
@@ -190,6 +205,12 @@ jobs:
190
205
with :
191
206
python-version : " 3.11"
192
207
208
+ # Install dependencies of python-ldap
209
+ - name : Install python-ldap dependencies
210
+ run : |
211
+ sudo apt-get update
212
+ sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
213
+
193
214
- name : Checkout OperationsGateway API
194
215
uses : actions/checkout@v3
195
216
0 commit comments