diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ebe90b4ba2f..6a5cf08d46e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -37,7 +37,7 @@ jobs: e2e: if: github.ref_name != 'i18n/crowdin' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 @@ -53,7 +53,7 @@ jobs: - 6379:6379 options: --entrypoint redis-server postgres: - image: postgres:13.16 + image: postgres:15.10 env: POSTGRES_USER: postgres POSTGRES_DB: postgres @@ -67,14 +67,15 @@ jobs: - name: Update apt run: sudo apt-get update || exit 0 - - name: Install Cypress dependencies - run: sudo apt-get install --no-install-recommends -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb fonts-arphic-bkai00mp fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp fonts-arphic-gkai00mp fonts-arphic-ukai fonts-arphic-uming ttf-wqy-zenhei ttf-wqy-microhei xfonts-wqy - - - name: Install postgresql-client - run: sudo apt-get install -y postgresql-client - - - name: Install graphicsmagick - run: sudo apt-get install -y graphicsmagick + - name: Install dependencies + run: | + sudo apt-get install \ + `# Cypress dependencies - see https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian` \ + libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb \ + `# Postgres client` \ + postgresql-client-16 \ + `# GraphicsMagick (not sure if needed)` \ + graphicsmagick - name: Install stripe-cli run: | diff --git a/scripts/run_e2e_tests.sh b/scripts/run_e2e_tests.sh index 957cd9d0e80..1aa46fb4980 100755 --- a/scripts/run_e2e_tests.sh +++ b/scripts/run_e2e_tests.sh @@ -44,7 +44,7 @@ if [ -z "$PDF_FOLDER" ]; then else cd $PDF_FOLDER fi -PORT=3002 npm start & +PORT=3002 OPENSSL_CONF=/dev/null npm start & PDF_PID=$! cd -