diff --git a/.github/workflows/oidc-integration-test.yml b/.github/workflows/oidc-integration-test.yml index c8a265be45..83b0dd447a 100644 --- a/.github/workflows/oidc-integration-test.yml +++ b/.github/workflows/oidc-integration-test.yml @@ -106,6 +106,7 @@ jobs: sudo cp test/etc/worker_conf /usr/lib/systemd/system/atom-worker.service sudo systemctl daemon-reload sudo systemctl start atom-worker + - name: Install and configure Nginx run: | sudo apt install nginx @@ -114,10 +115,15 @@ jobs: sudo rm -f /etc/nginx/sites-enabled/default sudo nginx -t sudo systemctl restart nginx + - name: Create writable Cypress videos and screenshots dirs run: | sudo mkdir -p ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos sudo chmod a=rwx ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos + + - name: Ensure NGINX is Running + run: sudo systemctl status nginx + - name: Run tests env: BROWSER: ${{ matrix.browser }} @@ -125,7 +131,10 @@ jobs: CYPRESS_BASE_URL: http://localhost run: npx cypress run --config-file cypress.config.oidc.js --browser ${BROWSER,} - - name: Output NGINX Error Log + - name: Ensure NGINX is Running + run: sudo systemctl status nginx + + - name: Output NGINX error log run: sudo cat /var/log/nginx/error.log - name: Tear down services