File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
geequel-shell/src/test/java/org/neo4j/shell Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI with Gradle
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Set up JDK 8
13+ uses : actions/setup-java@v4
14+ with :
15+ java-version : ' 8'
16+ distribution : ' corretto'
17+ cache : gradle
18+ - name : Build with Makefile
19+ run : make build && make test && make untested-zip
20+ - name : Upload logs
21+ if : failure()
22+ uses : actions/upload-artifact@v4
23+ with :
24+ name : ${{ inputs.log-name || 'logs' }}
25+ path : /home/runner/work/geequel-shell/geequel-shell/geequel-shell/build/reports/tests/test/
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ public void printsVersionAndExits() {
399399 ArgumentCaptor <String > argument = ArgumentCaptor .forClass (String .class );
400400
401401 verify (printStream ).println (argument .capture ());
402- assertTrue (argument .getValue ().matches ("Geequel-Shell \\ d+\\ .\\ d+\\ .\\ d+.*" ));
402+ assertTrue (argument .getValue ().matches ("Geequel-Shell ( \\ d+\\ .\\ d+\\ .\\ d+.*)? " ));
403403 }
404404
405405 @ Test
You can’t perform that action at this time.
0 commit comments