Hi guys, is anybody have problem with GitHub action? I have problem that execution of my tests takes longer using GitHub action than execution inside VisualStudio code. For paralelization I'm using this script: name: Parallel Cypress Tests
on:
push:
branches:
- 'main'
schedule:
- cron: '30 7 * * *'
jobs:
test:
name: CS Cypress tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# run 5 copies of the current job in parallel
machine: [1, 2, 3, 4, 5]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add hosts to /etc/hosts
run: |
URLOFMYCOMPANY
- name: Cypress run
uses: cypress-io/github-action@v4
with:
command: npm run run:dev