Comments (5)
@tristanbes "working-directory" doesn't work with "uses", must be within "with"
from github-action.
I'm experiencing the same issue. I must run the tests from subdirectory sites/
- name: Run Cypress
if: startsWith(github.head_ref, 'dependabot') != true
uses: cypress-io/github-action@v1
with:
record: true
parallel: true
group: ${{ matrix.cypress.group }}
spec: ${{ matrix.cypress.spec }}
working-directory: sites
It outputs:
### ERRORED 11:53:50Z
- Your workflow file was invalid: The pipeline is not valid. .github/workflows/ci.yml (Line: 333, Col: 15): Unexpected value 'working-directory',.github/workflows/ci.yml (Line: 340, Col: 15): Unexpected value 'working-directory'
from github-action.
@shicholas can you please describe your folder structure. Is it
root/
.github/workflows/...
web/
package.json with "dev" script
and you need to run npm run dev
in the web
subfolder?
from github-action.
from github-action.
I will mark this as a duplicate of #55 which should be fixed very soon
from github-action.
Related Issues (20)
- Github actions - npm install flags HOT 3
- Xvfb missing HOT 7
- GitHub Actions job marked as SUCCESS but CYPRESS tests fail HOT 5
- Node.js 16 deprecations in triage workflows HOT 4
- Test issue HOT 1
- Possibility to split summary results on spec level
- Commit message missing from Cypress Cloud when cypress/included container is used in GitHub Actions HOT 7
- Action stuck at Warning: vkCreateInstance: Found no drivers! HOT 15
- Specify specs and readonly configuration (chromeWebSecurity) per matrix container HOT 4
- Cypress binary randomly missing with pnpm HOT 13
- App frontend is not reachable, on random test runs HOT 5
- pnpm workspaces workflow shows "no status" HOT 1
- Add workspace support for pnpm HOT 10
- Save Test Results to File or Action Output HOT 5
- Add thread_ts as an optional parameter to use threads as part of the cypress cloud slack integration HOT 4
- Cypress run starts but does not run any tests HOT 9
- Cypress.env returns undefined [Github Actions] HOT 11
- Cypress fails to connect to devTools after first test HOT 13
- `project` not working HOT 5
- adding user 1001 throws EACCES permission issue HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.