diff options
author | Alexander Kabui | 2021-02-10 08:11:33 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-13 16:55:08 +0300 |
commit | cd5b32a69215bf5c168b7619ebc881908845204c (patch) | |
tree | e2d7578eb453ede5b10ceb4659d2f3784140ce61 /.github/workflows/main.yml | |
parent | 06986d1c3a9d76e9e4b0f0d2a7c89746a5a19990 (diff) | |
download | genenetwork2-cd5b32a69215bf5c168b7619ebc881908845204c.tar.gz |
add broken links checker to workflow
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 19 |
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 + |