File tree Expand file tree Collapse file tree 5 files changed +24
-14
lines changed Expand file tree Collapse file tree 5 files changed +24
-14
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,17 @@ name: Java JDBC
2
2
on :
3
3
4
4
pull_request :
5
- branches : [ main ]
5
+ branches : ~
6
6
paths :
7
7
- ' .github/workflows/test-java-jdbc.yml'
8
8
- ' by-language/java-jdbc/**'
9
+ - ' testing/ngr.py'
9
10
push :
10
11
branches : [ main ]
11
12
paths :
12
13
- ' .github/workflows/test-java-jdbc.yml'
13
14
- ' by-language/java-jdbc/**'
15
+ - ' testing/ngr.py'
14
16
15
17
# Allow job to be triggered manually.
16
18
workflow_dispatch :
49
51
java-version : " 11"
50
52
cache : " maven"
51
53
52
- - name : Run software tests
54
+ - name : Validate by-language/java-jdbc
53
55
run : |
54
- cd by-language/java-jdbc
55
- mvn install
56
- mvn exec:java -Dexec.args="--dburl 'jdbc:postgresql://localhost:5432/'"
57
- mvn exec:java -Dexec.args="--dburl 'jdbc:crate://localhost:5432/'"
56
+ python testing/ngr.py by-language/java-jdbc
Original file line number Diff line number Diff line change @@ -2,15 +2,17 @@ name: Java jOOQ
2
2
on :
3
3
4
4
pull_request :
5
- branches : [ main ]
5
+ branches : ~
6
6
paths :
7
7
- ' .github/workflows/test-java-jooq.yml'
8
8
- ' by-language/java-jooq/**'
9
+ - ' testing/ngr.py'
9
10
push :
10
11
branches : [ main ]
11
12
paths :
12
13
- ' .github/workflows/test-java-jooq.yml'
13
14
- ' by-language/java-jooq/**'
15
+ - ' testing/ngr.py'
14
16
15
17
# Allow job to be triggered manually.
16
18
workflow_dispatch :
49
51
java-version : " 17"
50
52
cache : " gradle"
51
53
52
- - name : Run software tests
54
+ - name : Validate by-language/java-jooq
53
55
run : |
54
- cd by-language/java-jooq
55
- ./gradlew check
56
+ python testing/ngr.py by-language/java-jooq
Original file line number Diff line number Diff line change @@ -2,15 +2,17 @@ name: Testcontainers for Java
2
2
on :
3
3
4
4
pull_request :
5
- branches : [ main ]
5
+ branches : ~
6
6
paths :
7
7
- ' .github/workflows/testcontainers-java.yml'
8
8
- ' testing/testcontainers/java/**'
9
+ - ' testing/ngr.py'
9
10
push :
10
11
branches : [ main ]
11
12
paths :
12
13
- ' .github/workflows/testcontainers-java.yml'
13
14
- ' testing/testcontainers/java/**'
15
+ - ' testing/ngr.py'
14
16
15
17
# Allow job to be triggered manually.
16
18
workflow_dispatch :
41
43
java-version : " 17"
42
44
cache : " gradle"
43
45
44
- - name : Run software tests
46
+ - name : Validate testing/testcontainers/java
45
47
run : |
46
- cd testing/testcontainers/java
47
- ./gradlew check
48
+ python testing/ngr.py testing/testcontainers/java
Original file line number Diff line number Diff line change @@ -41,11 +41,17 @@ Examples::
41
41
42
42
python testing/ngr.py by-language/csharp-npgsql
43
43
python testing/ngr.py by-language/csharp-npgsql --npgsql-version=6.0.9
44
+ python testing/ngr.py by-language/java-jdbc
45
+ python testing/ngr.py by-language/java-jooq
44
46
python testing/ngr.py by-language/php-amphp
45
47
python testing/ngr.py by-language/php-pdo
46
48
python testing/ngr.py by-language/python-sqlalchemy
47
49
python testing/ngr.py by-language/ruby
48
50
51
+ More examples::
52
+
53
+ python testing/ngr.py testing/testcontainers/java
54
+
49
55
It is recommended to invoke ``ngr `` from within a Python virtualenv.
50
56
51
57
.. _CrateDB : https://github.com/crate/crate
Original file line number Diff line number Diff line change
1
+ test :
2
+ mvn exec:java -Dexec.args=" --dburl 'jdbc:postgresql://localhost:5432/'"
3
+ mvn exec:java -Dexec.args=" --dburl 'jdbc:crate://localhost:5432/'"
You can’t perform that action at this time.
0 commit comments