about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f9a3fa13..b09f2f1d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -39,21 +39,21 @@ jobs:
         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: Run the unit tests
+    - name: Start Genenetwork as a  Background Task
       run: |
-        env GN2_PROFILE=/gn2-profile \
+        /gn2-profile/bin/screen -dmL bash -c "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 -c -m unittest discover -v
+        etc/default_settings.py"
 
-    - name: Start Genenetwork as a  Background Task
+    - name: Run the unit tests
       run: |
-        /gn2-profile/bin/screen -dmL bash -c "env GN2_PROFILE=/gn2-profile \
+        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"
+        etc/default_settings.py -c -m unittest discover -v
 
     - name: Test for Broken Links
       run: |