Skip to content

Commit d17ff5e

Browse files
committed
Some wrong bits
1 parent 2adccec commit d17ff5e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
docker run --detach --name rabbitmq -p 127.0.0.1:5672:5672 -p 127.0.0.1:15672:15672 test-rabbitmq
6868
docker container list -a
6969
70-
- name: Get database
70+
- name: Get ispyb database
7171
uses: actions/download-artifact@v4
7272
with:
7373
name: database
@@ -109,12 +109,6 @@ jobs:
109109
mariadb --defaults-file=.my.cnf -e "CREATE USER ispyb_api_sqlalchemy@'%' IDENTIFIED BY 'password_5678'; GRANT SELECT ON ispybtest.* to ispyb_api_sqlalchemy@'%'; GRANT INSERT ON ispybtest.* to ispyb_api_sqlalchemy@'%'; GRANT UPDATE ON ispybtest.* to ispyb_api_sqlalchemy@'%';"
110110
rm .my.cnf
111111
112-
- name: Connect to PostgreSQL
113-
run: node client.js
114-
env:
115-
POSTGRES_HOST: postgres
116-
POSTGRES_PORT: 5432
117-
118112
- name: Check RabbitMQ is alive
119113
run: wget -t 10 -w 1 http://127.0.0.1:15672 -O -
120114

tests/workflows/spa/test_flush_spa_preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from murfey.workflows.spa import flush_spa_preprocess
1010

1111
url = (
12-
f"postgresql+psycopg2://{os.environ['POSTGRES_USER']}:{os.environ['POSTGRES_PASSWORD']}"
12+
f"postgresql://{os.environ['POSTGRES_USER']}:{os.environ['POSTGRES_PASSWORD']}"
1313
f"@{os.environ['POSTGRES_HOST']}:{os.environ['POSTGRES_PORT']}/{os.environ['POSTGRES_DB']}"
1414
)
1515

0 commit comments

Comments
 (0)