Remove social dropdown and clang-specific features, use explore.dgnu.… #6
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: Compiler Explorer Frontend Testing | |
on: [push] | |
jobs: | |
cypress-run: | |
if: github.repository_owner == 'compiler-explorer' | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
browser: ['chrome'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install prerequisites | |
run: make prereqs | |
- name: Setup Firefox | |
uses: browser-actions/setup-firefox@v1 | |
if: matrix.browser == 'firefox' | |
- name: Setup Chrome | |
uses: browser-actions/setup-chrome@v1 | |
if: matrix.browser == 'chrome' | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
start: npm run dev -- --language c++ --noLocal | |
wait-on: 'http://localhost:10240' | |
wait-on-timeout: 120 | |
config: screenshotOnRunFailure=true,video=false | |
browser: ${{ matrix.browser }} | |
- name: Upload screenshots on failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots |