-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm this plugin works with wildcard spec parameter #10
Comments
Hi @bahmutov. I can confirm that this does not work. In my case my step looks like this: - name: Cypress run
uses: cypress-io/github-action@v5
with:
install: false
start: npx serve -l 8080
wait-on: http://localhost:8080
browser: chrome
spec: cypress/e2e/staging/**/*.spec.ts
env:
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}
SERVICE_ACCOUNT: ${{ secrets.FIREBASE_ADMIN_SA_STAGE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} But specs outside of the |
What did work, though, was using the - name: Cypress run
uses: cypress-io/github-action@v5
with:
install: false
start: npx serve -l 8080
wait-on: http://localhost:8080
browser: chrome
config: specPattern=cypress/e2e/staging/**/*.spec.ts
env:
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}
SERVICE_ACCOUNT: ${{ secrets.FIREBASE_ADMIN_SA_STAGE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Yup, Cypress does not pass I think for now I will work around it by asking the to pass the - name: Cypress run
uses: cypress-io/github-action@v5
with:
install: false
start: npx serve -l 8080
wait-on: http://localhost:8080
browser: chrome
spec: cypress/e2e/staging/**/*.spec.ts
env:
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}
SPLIT_SPECS: cypress/e2e/staging/**/*.spec.ts |
I understand. Yes, that could be reasonable. In my case (as seen above) I went with passing |
What is the current status of this? |
The text was updated successfully, but these errors were encountered: