How can I modify the following yml file in github actions to enable parallelization in cypress but have the tests run in an orderly manner? I mean I managed to enable parallelization but the virtual machines sometimes test the same tests, on two virtual machines the same test intersects. I don’t know how to separate them. I mention that this action is based on a virtual machine with windows.
I have this YML file:
name: UP Automation regression
on:
push:
branches: [ Alex ]
pull_request:
branches: [ Alex ]
jobs:
run-automation-regression-tests:
runs-on: windows-latest
steps:
- run: git config --global url."https://TOKEN".insteadOf https://github.com/
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: electron
record: true
parallel: false
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}