Skip to content

NIFI-13160 Support Skipping Frontend Unit Tests#8757

Closed
exceptionfactory wants to merge 1 commit intoapache:mainfrom
exceptionfactory:NIFI-13160
Closed

NIFI-13160 Support Skipping Frontend Unit Tests#8757
exceptionfactory wants to merge 1 commit intoapache:mainfrom
exceptionfactory:NIFI-13160

Conversation

@exceptionfactory
Copy link
Contributor

Summary

NIFI-13160 Supports skipping unit tests in the nifi-web-frontend module using a property named frontend.skipTests.

The property defaults to false, avoiding running tests on default builds. Changes include adding a paths-filter step to the GitHub ci-workflow to support conditional enabling of frontend unit tests when pull requests include changes for the nifi-web-frontend module.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using mvn clean install -P contrib-check
    • JDK 21

UI Contributions

  • NiFi is modernizing its UI. Any contributions that update the current UI also need to be implemented in the new UI.

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@exceptionfactory exceptionfactory force-pushed the NIFI-13160 branch 3 times, most recently from f693a2a to 535ba1a Compare May 6, 2024 21:40
- Added frontend.skipTests property to nifi-web-frontend Maven configuration with default value of false
- Configured lint and unit-test execution goals to depend on frontend.skipTests
- Added paths-filter GitHub Actions step for conditional enabling of frontend tests
@asfgit asfgit closed this in 6b8c19c May 6, 2024
shubhluck pushed a commit to shubhluck/nifi that referenced this pull request Jun 1, 2024
This closes apache#8757

- Added frontend.skipTests property to nifi-web-frontend Maven configuration with default value of false
- Configured lint and unit-test execution goals to depend on frontend.skipTests
- Added paths-filter GitHub Actions step for conditional enabling of frontend tests

Signed-off-by: Joseph Witt <joewitt@apache.org>
shubhluck pushed a commit to shubhluck/nifi that referenced this pull request Jun 1, 2024
This closes apache#8757

- Added frontend.skipTests property to nifi-web-frontend Maven configuration with default value of false
- Configured lint and unit-test execution goals to depend on frontend.skipTests
- Added paths-filter GitHub Actions step for conditional enabling of frontend tests

Signed-off-by: Joseph Witt <joewitt@apache.org>
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.

1 participant