Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷(global) circleci conditional testing #2131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rlecellier
Copy link
Collaborator

@rlecellier rlecellier commented Nov 3, 2023

Purpose

Use passculture circleci configuration example to skip job unless files have been modified in the right folder.

See: https://github.com/pass-culture/pass-culture-main/blob/9b8c259d683fa4fafa0a0621e83092b09f606927/.circleci/config.yml#L123-L163

We skip the job if no changes are detected on the provided path except if the active branch is the base one or the job is run on a tag

Proposal

  •  Add a pre-step to check if the job should be run

@rlecellier rlecellier self-assigned this Nov 3, 2023
@rlecellier rlecellier added the FUN Team Tasks that need to be undertaken by a member of the FUN team. label Nov 3, 2023
Use passculture circleci configuration example to skip job unless files
have been modified in the right folder.

See: https://github.com/pass-culture/pass-culture-main/blob/9b8c259d683fa4fafa0a0621e83092b09f606927/.circleci/config.yml#L123-L163
@jbpenrath jbpenrath force-pushed the rlecellier/circle_ci_conditional_testing branch 6 times, most recently from 64ca331 to acf0903 Compare December 12, 2023 22:28
@jbpenrath jbpenrath force-pushed the rlecellier/circle_ci_conditional_testing branch from acf0903 to 4fba713 Compare December 12, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FUN Team Tasks that need to be undertaken by a member of the FUN team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants