question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing working directory

See original GitHub issue

Hello!

I have a project that is structured as follows:

.circleci
  - .config.yaml
frontend
  - package.json
  - src
    - js application files
  - tests
API-related files ...

Is it possible to trigger a running of the cypress tests on Circle using this structure? And if so, could anyone point me in the direction?

Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
jesseschuttcommented, Apr 24, 2019

Since the package.json file is not at the root of the project it is not available when CircleCI attempts to install the dependencies. I need to cd frontend before attempting to run any tests or builds.

Does that make sense?

0reactions
bahmutovcommented, Jun 15, 2019

ok, I agree - this would be a very nice feature to add. Do you mind adding it (in the src/orb.yml file) and then opening a pull request?

Read more comments on GitHub >

github_iconTop Results From Across the Web

3.3.4 Change Working Directory (cd)
3.3.4 Change Working Directory ( cd ). The cd (change directory) command allows you to move around within the file system hierarchy: ...
Read more >
cd - Change the working directory - IBM
In the shell, the command cd - is a special case that changes the current working directory to the previous working directory by...
Read more >
How to Change Working Directory in R
You can change your working directory with setwd (set working directory) function. The setwd() function includes an argument, a filepath of the ...
Read more >
Running RStudio and Setting Up Your Working Directory
Change your working directory ... You can change your working directory as follow: ... It's also possible to use the R function setwd(),...
Read more >
Get or Set Working Directory - R
getwd returns an absolute filepath representing the current working directory of the R process; setwd(dir) is used to set the working directory to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found