MNT-24250: pre-commit cleanup #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Third-party License Overrides CI | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
pre_commit: | |
name: "pre-commit" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | |
tests: | |
name: "Tests" | |
runs-on: ubuntu-latest | |
needs: [ pre_commit ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | |
- name: "Compile" | |
run: | | |
cd test | |
javac -d target ./org/alfresco/thirdpartylicense/ValidateProperties.java | |
- name: "Run tests" | |
run: | | |
cd test | |
echo -e "\n~~~ Unit tests ~~~\n" | |
java -cp target org.alfresco.thirdpartylicense.ValidateProperties | |
echo -e "\n~~~ Script E2E tests ~~~\n" | |
./thirdPartyLicenseCSVCreatorTests/test.sh | |
echo -e "\n~~~ Plugin E2E tests ~~~\n" | |
cd pluginE2ETests | |
mvn clean install |