File tree 3 files changed +15
-10
lines changed
3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ envfile_testing:
55
55
@if test -f ${ENV_FILE} ; then echo " .env file exists already" ; exit 1; fi
56
56
@mkdir -p $(shell dirname ${ENV_FILE}) && touch ${ENV_FILE}
57
57
@echo SECRET_KEY=\" ${GET_SECRET_KEY} \" >> ${ENV_FILE}
58
- @echo SCANCODEIO_DB_PORT =\" 5433 \" >> ${ENV_FILE}
58
+ @echo PACKAGEDB_DB_HOST =\" packagedb \" >> ${ENV_FILE}
59
59
60
60
isort :
61
61
@echo " -> Apply isort changes to ensure proper imports ordering"
Original file line number Diff line number Diff line change 7
7
8
8
resources :
9
9
containers :
10
- - container : postgres
11
- image : postgres
12
- env :
13
- POSTGRES_DB : packagedb
14
- POSTGRES_USER : packagedb
15
- POSTGRES_PASSWORD : packagedb
16
- POSTGRES_INITDB_ARGS : " --encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8"
17
- ports :
18
- - 5432:5432
10
+ - container : packagedb
11
+ image : postgres:13
12
+ env :
13
+ POSTGRES_USER : packagedb
14
+ POSTGRES_PASSWORD : packagedb
15
+ ports :
16
+ - 5432:5432
19
17
20
18
jobs :
21
19
22
20
- template : etc/ci/azure-posix.yml
21
+ services :
22
+ postgres : postgres
23
23
parameters :
24
24
job_name : ubuntu20_cpython
25
25
image_name : ubuntu-20.04
28
28
all : make test
29
29
30
30
- template : etc/ci/azure-posix.yml
31
+ services :
32
+ postgres : postgres
31
33
parameters :
32
34
job_name : ubuntu22_cpython
33
35
image_name : ubuntu-22.04
Original file line number Diff line number Diff line change 18
18
test_suite_label : ${{ tsuite.key }}
19
19
test_suite : ${{ tsuite.value }}
20
20
21
+ services :
22
+ packagedb : packagedb
23
+
21
24
steps :
22
25
- checkout : self
23
26
fetchDepth : 10
You can’t perform that action at this time.
0 commit comments