From cd5b32a69215bf5c168b7619ebc881908845204c Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 10 Feb 2021 08:11:33 +0300 Subject: add broken links checker to workflow --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2342796a..79c69699 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,3 +46,22 @@ jobs: WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ etc/default_settings.py -c -m unittest discover -v + + - name: Start Genenetwork as a Background Task + run: | + env GN2_PROFILE=/gn2-profile \ + TMPDIR=/tmp SERVER_PORT=5004 \ + WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ + GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ + etc/default_settings.py + + - name: Test for Broken Links + run: | + + env GN2_PROFILE=/gn2-profile \ + TMPDIR=/tmp\ + WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ + GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ + etc/default_settings.py -c -m\ + /__w/genenetwork/genenetwork/test/requests/links_scraper/genelinks.py + -- cgit 1.4.1 From 02ac2fd38fea7f85b3ef89464157a7c0d1ffcac7 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 10 Feb 2021 08:14:03 +0300 Subject: fix:starting genenetwork on the background --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79c69699..a8642806 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,7 @@ jobs: TMPDIR=/tmp SERVER_PORT=5004 \ WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py + etc/default_settings.py& - name: Test for Broken Links run: | -- cgit 1.4.1 From e67e6d7f88ffb21e4101147c5abadb2b7c78e5ae Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 10 Feb 2021 08:18:47 +0300 Subject: fix error --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8642806..d4649d4f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,5 @@ jobs: TMPDIR=/tmp\ WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py -c -m\ - /__w/genenetwork/genenetwork/test/requests/links_scraper/genelinks.py + etc/default_settings.py -c -m /__w/genenetwork/genenetwork/test/requests/links_scraper/genelinks.py -- cgit 1.4.1 From f3a8fdc660504e0ea74ae63d5ed7c891db6e3963 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 10 Feb 2021 08:20:18 +0300 Subject: fix paths issues --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4649d4f..5d46ccb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,5 +62,5 @@ jobs: TMPDIR=/tmp\ WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py -c -m /__w/genenetwork/genenetwork/test/requests/links_scraper/genelinks.py + etc/default_settings.py -c -m /__w/genenetwork2/genenetwork2/test/requests/links_scraper/genelinks.py -- cgit 1.4.1 From 6f3273429482dea1aaaa4e5fe61b178485e271b8 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Thu, 11 Feb 2021 07:26:04 +0300 Subject: edit workflow --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d46ccb9..a36abc0a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,5 +62,5 @@ jobs: TMPDIR=/tmp\ WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py -c -m /__w/genenetwork2/genenetwork2/test/requests/links_scraper/genelinks.py + etc/default_settings.py -c /__w/genenetwork2/genenetwork2/test/requests/links_scraper/genelinks.py -- cgit 1.4.1