diff options
author | BonfaceKilz | 2022-03-16 12:02:27 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-16 12:07:26 +0300 |
commit | d0017d539428dbf1cc3b7afcfe49679f08b65e30 (patch) | |
tree | d1877bb2c5ac4a217b4e03f016e3cad9d14f99ce /.github/workflows/main.yml | |
parent | 250c0ecadafc74f60f22f81d733f336b695e505c (diff) | |
download | genenetwork2-d0017d539428dbf1cc3b7afcfe49679f08b65e30.tar.gz |
Delete GitHub CI runner
We have moved to Laminar. See: <https://penguin2.genenetwork.org/>
* .github/workflows/main.yml: Delete it.
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 0cf4557f..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: tests - -# Run actions when pushing to the testing branch or when you create a -# PR against it -on: - push: - branches: [ testing ] - pull_request: - branches: [ testing ] - -jobs: - unittest: - runs-on: ubuntu-latest - container: bonfacekilz/genenetwork2:latest - - steps: - # First start with mariadb set then checkout. The checkout gives - # the mysqld enough time to start - - name: Set up mariadb - run: | - mysql_install_db --user=mysql --datadir=/usr/local/mysql - # Wait for the mysqld_safe process to start - mysqld_safe --user=mysql --datadir=/usr/local/mysql & - - # Use v1 of checkout since v2 fails - - name: Checkout Project - uses: actions/checkout@v1 - - # Redis is required by some of the tests 6379 - - name: Start Redis - run: | - /gn2-profile/bin/screen -dmLS redisconn /gn2-profile/bin/redis-server - - # Initialise the tables - - name: Bootstrap tables - run: | - mysql -u root -e "SHOW DATABASES;" - mysql -u root -e "CREATE DATABASE db_webqtl_s;" - mysql -u root -e "CREATE USER 'gn2'@'localhost' IDENTIFIED BY 'mysql_password';" - mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'gn2'@'localhost';FLUSH PRIVILEGES;" - - - name: Start Genenetwork as a Background Task - run: | - /gn2-profile/bin/screen -dm bash -c "env GN2_PROFILE=/gn2-profile \ - TMPDIR=/tmp SERVER_PORT=5004 \ - WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ - GN_PROXY_URL='http://localhost:8080' \ - GN3_LOCAL_URL='http://localhost:8081' \ - GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py" - - - name: Run the unit tests - run: | - env GN2_PROFILE=/gn2-profile \ - TMPDIR=/tmp SERVER_PORT=5004 \ - WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG \ - GN_PROXY_URL='http://localhost:8080' \ - GN3_LOCAL_URL='http://localhost:8081' \ - GENENETWORK_FILES=/genotype_files/ bin/genenetwork2 \ - etc/default_settings.py -c -m unittest discover -v - - # - 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 \ - # $PWD/test/requests/links_scraper/genelinks.py |