Skip to content

Selective CI based on changes to a domain#504

Closed
rscohn2 wants to merge 13 commits intouxlfoundation:developfrom
rscohn2:dev/selective-build
Closed

Selective CI based on changes to a domain#504
rscohn2 wants to merge 13 commits intouxlfoundation:developfrom
rscohn2:dev/selective-build

Conversation

@rscohn2
Copy link
Member

@rscohn2 rscohn2 commented May 31, 2024

Description

Selective CI based on changes to a domain. Requested by @sknepper.

I tested that the filter works by making changes to RNG and DFT, src and tests directories. I undid the changes to prepare to merge.

It does not skip the first few steps because they finish almost immediately. It skips the expensive steps starting with oneapi install.

@rscohn2 rscohn2 changed the title Selective CI basecd on changes to a domain Selective CI based on changes to a domain May 31, 2024
@rscohn2 rscohn2 requested review from dnhsieh-intel and sknepper May 31, 2024 13:11
@rscohn2 rscohn2 marked this pull request as ready for review May 31, 2024 13:13
- 'src/${{ matrix.domain}}/**'
- 'tests/unit_tests/${{ matrix.domain }}/**'
- CMakeLists.txt
- '.github/workflows/**'
Copy link
Contributor

@dnhsieh-intel dnhsieh-intel May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add examples and include directories because we test examples and headers could affect the build.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Thanks, @rscohn2 !

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am looking for a more maintainable way to specify the files that will trigger a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments