5
5
branches :
6
6
- qa/**
7
7
- stable/**
8
+ - dev/oidc-tests
8
9
jobs :
9
10
integration-tests :
10
11
runs-on : ubuntu-20.04
@@ -106,6 +107,7 @@ jobs:
106
107
sudo cp test/etc/worker_conf /usr/lib/systemd/system/atom-worker.service
107
108
sudo systemctl daemon-reload
108
109
sudo systemctl start atom-worker
110
+
109
111
- name : Install and configure Nginx
110
112
run : |
111
113
sudo apt install nginx
@@ -114,20 +116,37 @@ jobs:
114
116
sudo rm -f /etc/nginx/sites-enabled/default
115
117
sudo nginx -t
116
118
sudo systemctl restart nginx
119
+
117
120
- name : Create writable Cypress videos and screenshots dirs
118
121
run : |
119
122
sudo mkdir -p ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos
120
123
sudo chmod a=rwx ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos
124
+
125
+ - name : Ensure NGINX is Running
126
+ run : sudo systemctl status nginx
127
+
121
128
- name : Run tests
122
129
env :
123
130
BROWSER : ${{ matrix.browser }}
124
131
CYPRESS_VIDEO : false
125
132
CYPRESS_BASE_URL : http://localhost
126
133
run : npx cypress run --config-file cypress.config.oidc.js --browser ${BROWSER,}
127
134
128
- - name : Output NGINX Error Log
135
+ - name : Ensure NGINX is Running
136
+ run : sudo systemctl status nginx
137
+
138
+ - name : Output NGINX error log
139
+ if : always()
129
140
run : sudo cat /var/log/nginx/error.log
130
141
142
+ - name : Output AtoM error test log
143
+ if : always()
144
+ run : sudo cat ./log/qubit_test.log
145
+
146
+ - name : Output AtoM error prod log
147
+ if : always()
148
+ run : sudo cat ./log/qubit_prod.log
149
+
131
150
- name : Tear down services
132
151
if : always()
133
152
run : |
0 commit comments