Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configure Circle CI for project in sub directory

Tags:

circleci

I have a project that has two directories in it; each one essentially a node project. I want to run my unit tests for project A from Circle CI when a PR opens. From what I've read, the circle.yml file has to live in the root of the project. What I want to do is just change directory first, and then do all of the normal circle actions from project A directory.

like image 388
arb Avatar asked Nov 01 '25 14:11

arb


1 Answers

So what ended up working for me was adding

general:
  build_dir: project-a

to my circle file. That was the only change I needed to make.

like image 117
arb Avatar answered Nov 04 '25 20:11

arb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!