Skip to content

Commit

Permalink
#163: Add step to use icat_db_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 14, 2021
1 parent 7d1d0b4 commit 22d987e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ jobs:
run: pip install nox==2020.8.22
- name: Install Poetry
run: pip install poetry==1.1.4
- name: Install dependencies
run: cd datagateway-api/ && poetry install
- name: Add dummy data to icatdb
run: python -m util.icat_db_generator -s 4 -y 3
- name: Run Nox safety session
run: nox -s safety -f datagateway-api/noxfile.py
- name: Run Nox lint session
Expand Down
2 changes: 1 addition & 1 deletion config.json.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"backend": "db",
"DB_URL": "mysql+pymysql://root:rootpw@localhost:13306/icatdb",
"DB_URL": "mysql+pymysql://icatdbuser:icatdbuserpw@localhost:3306/icatdb",
"ICAT_URL": "https://localhost:8181",
"icat_check_cert": false,
"log_level": "WARN",
Expand Down

0 comments on commit 22d987e

Please sign in to comment.