FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[maven] Run integration on master checks (#7762) · codewithcheese/openapi-generator@b28c3ee · GitHub

Repository navigation

Commit b28c3ee

Browse files
authored
[maven] Run integration on master checks (OpenAPITools#7762)
This adds the Maven integration tests to the Check Supported Java Versions job which runs on master. Maven on Windows was previously broken with templateDirectory. This was fixed previously in a pull request, but the Maven plugin integration testing did not work in our other CI vendors. This was tested and verified in a private repo. The difference is likely due to vCPUs available in GitHub Workflows differing from other free CI we use elsewhere.
1 parent 7318ff7 commit b28c3ee

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

‎.github/workflows/check-supported-versions.yaml‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
name: Build on JDK ${{ matrix.java }} and ${{ matrix.os }}
9+
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
@@ -48,19 +48,25 @@ jobs:
4848
shell: bash
4949
run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml ${{ matrix.flags }}
5050

51-
- name: Test gradle
52-
shell: bash
53-
run: gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace
54-
5551
- name: Upload Maven build artifact
5652
uses: actions/upload-artifact@v1
5753
if: matrix.java == '8' && matrix.os == 'ubuntu-latest'
5854
with:
5955
name: artifact
6056
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar
6157

58+
- name: Test Gradle plugin usage
59+
shell: bash
60+
run: gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace
61+
62+
- name: Test Maven plugin integration
63+
shell: bash
64+
run: |
65+
cd modules/openapi-generator-maven-plugin
66+
mvn verify -Pintegration
67+
6268
verify:
63-
name: Verifies integrity of the commit on ${{ matrix.os }}
69+
name: Verify outputs on ${{ matrix.os }}
6470
needs: build
6571
runs-on: ${{ matrix.os }}
6672
strategy:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL