When does the circle ci workflow run?

Viewed 66

I work with github and circle ci.

Is the workflow of circle ci executed when a pull request is made?

Or will it be executed when merged?

In the latter case, what if I want to test when pull request?

I think it will be executed when merged.

But why is it displayed as below when creating a pull request?

enter image description here

1 Answers

But why is it displayed as below when creating a pull request?

The article "Setting up continuous integration with GitHub" from Stanley Ndagi (twitter) points out to:

Click the settings cog next to the repo name:

In Advanced Settings, notice that Only build pull requests is turned off.
This means that every push to GitHub will run on CircleCI, including PRs.

Related