Skip to content

Commit 974e67d

Browse files
committed
Adds test workflow
1 parent 99d6fd3 commit 974e67d

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/mavenwrapper.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Java CI with Maven
10+
11+
on:
12+
push:
13+
branches: [ "FLINK-33607" ]
14+
15+
jobs:
16+
run-maven-wrapper:
17+
strategy:
18+
matrix:
19+
include:
20+
- os: 'ubuntu-latest'
21+
cmd: './mvnw'
22+
- os: 'macos-latest'
23+
cmd: './mvnw'
24+
- os: 'windows-latest'
25+
cmd: './mvnw.cmd'
26+
runs-on: ${{ matrix.os }}
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
with:
31+
sparse-checkout-cone-mode: false
32+
sparse-checkout: |
33+
.mvn/wrapper/maven-wrapper.properties
34+
mvnw
35+
mvnw.cmd
36+
- name: Print Maven version info
37+
run: ${{ matrix.cmd }} --version

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@
1919
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
2020
distributionSha256Sum=ccf20a80e75a17ffc34d47c5c95c98c39d426ca17d670f09cd91e877072a9309
2121
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
22-
# TODO FLINK-33607: checksum verification doesn't seem to work under windows
23-
# wrapperSha256Sum=e63a53cfb9c4d291ebe3c2b0edacb7622bbc480326beaa5a0456e412f52f066a
22+
wrapperSha256Sum=46b0acdfe3da08b3f40d25bd135858b6014ee62b92883768995c946a3b446bd6

0 commit comments

Comments
 (0)