Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ jobs:
cache-dependency-path: front_end/package-lock.json
- name: "Install node_modules and build the frontend"
run: cd front_end && npm ci && npm run build
# Uncomment this to stop the job at this spot, and get a remote shell into the VM
# - name: Get tty-share
# if: always()
# run: |
# curl -L https://github.com/elisescu/tty-share/releases/download/v2.4.0/tty-share_linux-amd64 -o tty-share
# chmod u+x ./tty-share
# export TERM=xterm-256color
# ./tty-share -A --public --headless --headless-cols 255 --headless-rows 50 --no-wait --listen :8001
- name: Run the integration tests
if: always()
env:
Expand All @@ -95,7 +87,18 @@ jobs:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: |
PLAYWRIGHT_BROWSERS_PATH=.venv scripts/run_integration_tests.sh
- name: Create trace.zip
if: always()
run: |
mkdir -p trace && cd trace && unzip ../trace.zip && rm ../trace.zip
# Uncomment this to stop the job at this spot, and get a remote shell into the VM
# - name: Get tty-share
# if: always()
# run: |
# curl -L https://github.com/elisescu/tty-share/releases/download/v2.4.0/tty-share_linux-amd64 -o tty-share
# chmod u+x ./tty-share
# export TERM=xterm-256color
# ./tty-share -A --public --headless --headless-cols 255 --headless-rows 50 --no-wait --listen :8001
- name: "Upload trace.zip"
uses: actions/upload-artifact@v4
if: always()
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -x
set -e
set -o pipefail

cleanup() {
for process in "next-server" "gunicorn" "dramatiq"; do
Expand Down