Sunday 24 June 2018

CircleCi change branch

Hey,I have a project with two branches: master, development.On circleci when accessing the repository, I don't seem to find an option to choose the branch I want to let circleci run the tests. Since my master branch doesn't has any tests set up (it's basically an empty branch for now), circleci tells me it can't find anything to test (which is correct).How can I configure circleci to work on my development branch?My config.yml should be fine (npm test refers to jest):version: 2 jobs: build: branches: only: - development docker: - image: circleci/node:7.10 working_directory: ~/repo steps: - checkout - run: npm install - run: npm test

Submitted June 24, 2018 at 09:17AM by Fasyx

No comments:

Post a Comment