Skip to content

Commit 134fca9

Browse files
gbadnerDavideD
authored andcommitted
[#698] Create workflow for testing the latest Vert.x SQL client snapshots
1 parent 14b705c commit 134fca9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/tracking-vertx-4.build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
example: [ 'session-example', 'native-sql-example' ]
2525
db: [ 'MySQL', 'PostgreSQL' ]
26-
vertx-version: [ '[4,5)' ]
26+
vertx-version: [ '[4.0,4.1)','[4.1,4.2)' ]
2727
exclude:
2828
# 'native-sql-example' doesn't run on MySQL because it has native queries
2929
- example: 'native-sql-example'
@@ -68,16 +68,16 @@ jobs:
6868
java-version: 1.8
6969
uses: actions/setup-java@v1
7070
- name: Print the effective Vert.x version used
71-
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency io.vertx --configuration runtimeClasspath -PvertxVersion='${{ matrix.vertx-version }}'
71+
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency io.vertx --configuration runtimeClasspath -PvertxVersion='${{ matrix.vertx-version }}' -PenableSonatypeOpenSourceSnapshotsRep
7272
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
73-
run: ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }} -PvertxVersion='${{ matrix.vertx-version }}'
73+
run: ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }} -PvertxVersion='${{ matrix.vertx-version }}' -PenableSonatypeOpenSourceSnapshotsRep
7474

7575
test_dbs:
7676
name: Test with ${{ matrix.db }} and latest Vert.x in ${{ matrix.vertx-version }}
7777
runs-on: ubuntu-latest
7878
strategy:
7979
matrix:
80-
vertx-version: ['[4,5)']
80+
vertx-version: [ '[4.0,4.1)','[4.1,4.2)' ]
8181
db: [ 'MariaDB', 'MySQL', 'PostgreSQL', 'DB2', 'CockroachDB' ]
8282
steps:
8383
- uses: actions/checkout@v2
@@ -86,6 +86,6 @@ jobs:
8686
with:
8787
java-version: 1.8
8888
- name: Print the effective Vert.x version used
89-
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency io.vertx -PvertxVersion='${{ matrix.vertx-version }}'
89+
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency io.vertx -PvertxVersion='${{ matrix.vertx-version }}' -PenableSonatypeOpenSourceSnapshotsRep
9090
- name: Build and Test with ${{ matrix.db }}
91-
run: ./gradlew build -Pdb=${{ matrix.db }} -Pdocker -PvertxVersion='${{ matrix.vertx-version }}'
91+
run: ./gradlew build -Pdb=${{ matrix.db }} -Pdocker -PvertxVersion='${{ matrix.vertx-version }}' -PenableSonatypeOpenSourceSnapshotsRep

0 commit comments

Comments
 (0)