I am trying to run Cypress with Github actions. Do you have a reference code for GitHub workflows YAML?
1 Like
Hello Michael,
Here is an in-depth example of a yaml workflow for running cypress tests from a yaml file in the form of a yaml action in the form of the yaml file (GitHub Action YAML).
#name: Cypress Test Culture
on:
push:
branches: ['main1']
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- run: |
npm install -g lambdatest-cypress-cli
export LT_USERNAME=username
export LT_ACCESS_KEY=accesskey
echo "Setting up LambdaTest credentials for $LT_USERNAME"
lambdatest-cypress --version
lambdatest-cypress run
Thank you for your inquiry! We’re always happy to help, so don’t hesitate to ask more