Fix alignment on bubble and remove black box on mobile #6712
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cypress checks / PR | |
env: | |
SECRET_KEY: insecure_test_key | |
PORT: 8001 | |
CONTRACTS_API_URL: https://contracts.staging.canonical.com | |
STRIPE_PUBLISHABLE_KEY: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46 | |
CAPTCHA_TESTING_API_KEY: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI | |
MARKETO_API_CLIENT: ${{secrets.MARKETO_API_CLIENT}} | |
MARKETO_API_SECRET: ${{secrets.MARKETO_API_SECRET}} | |
on: pull_request | |
jobs: | |
run-cypress: | |
if: github.repository == 'canonical/ubuntu.com' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install python dependencies | |
run: pip3 install -r requirements.txt | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
with: | |
# This is a dummy account that contains no sensitive information and is only used for testing | |
# This is to workaround the fact that GitHub secrets cannot be used in pull requests from forks | |
env: UBUNTU_USERNAME=peter.makowski+dummy-cypress-account@canonical.com,UBUNTU_PASSWORD=9BKfSNo2&2Zs | |
build: yarn run build | |
start: yarn run serve | |
wait-on: "http://0.0.0.0:8001/_status/check" | |
wait-on-timeout: 300 | |
browser: chrome | |
config-file: tests/cypress/cypress.json | |
config: baseUrl=http://0.0.0.0:8001 |