File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ 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}
59
58
60
59
isort :
61
60
@echo " -> Apply isort changes to ensure proper imports ordering"
@@ -126,7 +125,7 @@ run_map:
126
125
127
126
test :
128
127
@echo " -> Run the test suite"
129
- ${ACTIVATE} DJANGO_SETTINGS_MODULE=purldb_project.settings ${PYTHON_EXE} -m pytest -vvs --ignore matchcode_pipeline --ignore matchcode_project --ignore purldb-toolkit --ignore packagedb/tests/test_throttling.py
128
+ ${ACTIVATE} DJANGO_SETTINGS_MODULE=purldb_project.settings ${PYTHON_EXE} -m pytest -x - vvs --ignore matchcode_pipeline --ignore matchcode_project --ignore purldb-toolkit --ignore packagedb/tests/test_throttling.py
130
129
${ACTIVATE} DJANGO_SETTINGS_MODULE=purldb_project.settings ${PYTHON_EXE} -m pytest -vvs packagedb/tests/test_throttling.py
131
130
${ACTIVATE} DJANGO_SETTINGS_MODULE=matchcode_project.settings ${PYTHON_EXE} -m pytest -vvs matchcode_pipeline
132
131
${ACTIVATE} ${PYTHON_EXE} -m pytest -vvs purldb-toolkit/
Original file line number Diff line number Diff line change 7
7
8
8
resources :
9
9
containers :
10
- - container : postgres
11
- image : postgres
10
+ - container : packagedb
11
+ image : postgres:13
12
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"
13
+ POSTGRES_USER : ' packagedb'
14
+ POSTGRES_PASSWORD : ' packagedb'
17
15
ports :
18
16
- 5432:5432
19
17
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