aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlexander Kabui2021-02-10 08:11:33 +0300
committerBonfaceKilz2021-02-13 16:55:08 +0300
commitcd5b32a69215bf5c168b7619ebc881908845204c (patch)
treee2d7578eb453ede5b10ceb4659d2f3784140ce61 /.github/workflows
parent06986d1c3a9d76e9e4b0f0d2a7c89746a5a19990 (diff)
downloadgenenetwork2-cd5b32a69215bf5c168b7619ebc881908845204c.tar.gz
add broken links checker to workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 19 insertions, 0 deletions
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
+