[WD-9029] replace TNM logo with a smaller one to align with other logos in /hpe #8123
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: Accessibility checks | |
env: | |
SECRET_KEY: insecure_test_key | |
PORT: 8001 | |
CONTRACTS_API_URL: https://contracts.staging.canonical.com | |
STRIPE_PUBLISHABLE_KEY: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46 | |
on: pull_request | |
jobs: | |
run-cypress-a11y: | |
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: | |
env: [email protected],UBUNTU_PASSWORD=jibfdq5hmq,MARKETO_CLIENT_ID=${{secrets.MARKETO_CLIENT_ID}},MARKETO_CLIENT_SECRET=${{secrets.MARKETO_CLIENT_SECRET}},MARKETO_AUTHORISED_USER=${{secrets.MARKETO_AUTHORISED_USER}},MARKETO_TOKEN=${{secrets.MARKETO_TOKEN}} | |
build: yarn run build | |
start: yarn run serve | |
wait-on: "http://0.0.0.0:8001/_status/check" | |
wait-on-timeout: 180 | |
browser: chrome | |
config-file: tests/cypress/cypress-a11y.json | |
config: baseUrl=http://0.0.0.0:8001 |