Maven verify pipeline #1921
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: Maven verify pipeline | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.7 | |
- name: Install Python packages | |
run: pip install pre-commit cloudformation-cli cloudformation-cli-java-plugin | |
- name: Run pre-commit | |
run: pre-commit run --all-files | |
- name: Verify AWS::RDS::Test::Common | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-test-common" | |
mvn clean verify --no-transfer-progress | |
- name: Install AWS::RDS::Test::Common | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-test-common" | |
mvn clean install --no-transfer-progress | |
- name: Verify AWS::RDS::Common | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-common" | |
mvn clean verify --no-transfer-progress | |
- name: Install AWS::RDS::Common | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-common" | |
mvn clean install --no-transfer-progress | |
- name: Verify AWS::RDS::DBCluster | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbcluster" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::DBClusterParameterGroup | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbclusterparametergroup" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::DBParameterGroup | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbparametergroup" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: AWS::RDS::DbInstance | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbinstance" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::DBSubnetGroup | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbsubnetgroup" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::EventSubscription | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-eventsubscription" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::GlobalCluster | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-globalcluster" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::Integration | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-integration" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::OptionGroup | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-optiongroup" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::DBClusterEndpoint | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-dbclusterendpoint" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log | |
- name: Verify AWS::RDS::CustomDBEngineVersion | |
run: | | |
cd "${GITHUB_WORKSPACE}/aws-rds-customdbengineversion" | |
mvn clean verify --no-transfer-progress | |
cat rpdk.log |