Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/scripts/disable-docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash

# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scripts/run-consecutive-tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash

# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test-changed-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,13 @@ jobs:
run: |
./gradlew pullAllowedDockerImages -Pcoordinates=${{ matrix.coordinates }}

- name: "Disable docker networking"
run: bash ./.github/workflows/scripts/disable-docker.sh

- name: "🔎 Check metadata files content"
run: |
./gradlew checkMetadataFiles -Pcoordinates=${{ matrix.coordinates }}

- name: "🧪 Run '${{ matrix.coordinates }}' tests"
run: |
./gradlew test -Pcoordinates=${{ matrix.coordinates }}
./gradlew testInfra -Pcoordinates=${{ matrix.coordinates }} -Pparallelism=1 --stacktrace

all-infrastructure-passed:
name: "🧪 All build-logic triggered tests have passed"
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
- Windows: gradlew.bat <task> [options]
- Tip: add --stacktrace for debugging

## One command for complete testing (use at the end of the task to verify)
./gradlew testAllParallel -Pparallelism=4
## One command for complete infrastructure testing
./gradlew testAllInfra -Pparallelism=4 --stacktrace

## Code Style
- Always try to reuse existing code.
Expand Down
451 changes: 311 additions & 140 deletions build.gradle

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Tip: When debugging locally, add `--stacktrace` for better error output.

### End-to-end testing before the commit
```console
./gradlew testAllParallel --stacktrace
./gradlew testAllInfra --stacktrace
```

### Style and formatting
Expand Down
12 changes: 1 addition & 11 deletions metadata/org.jooq/jooq/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,7 @@
"3.19.25",
"3.19.26",
"3.19.27",
"3.19.28",
"3.20.1",
"3.20.2",
"3.20.3",
"3.20.4",
"3.20.5",
"3.20.6",
"3.20.7",
"3.20.8",
"3.20.9",
"3.20.10"
"3.19.28"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "org.graalvm.logback.LogbackTests" -Pagent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "flyway.FlywayTests" -Pagent
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "flyway.FlywayTests" -Pagent
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "flyway.FlywayTests" -Pagent
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

../../../../../gradlew deleteGeneratedMetadata
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

../../../../../gradlew deleteGeneratedMetadata
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

../../../../../gradlew deleteGeneratedMetadata
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

../../../../../gradlew deleteGeneratedMetadata
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

../../../../../gradlew deleteGeneratedMetadata
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew deleteGeneratedMetadata
./gradlew test --tests "org_hibernate.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew deleteGeneratedMetadata
./gradlew test --tests "org_hibernate.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/

pluginManagement {
def tckPath = Objects.requireNonNullElse(
System.getenv("GVM_TCK_TCKDIR"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/

pluginManagement {
def tckPath = Objects.requireNonNullElse(
System.getenv("GVM_TCK_TCKDIR"),
Expand Down
4 changes: 4 additions & 0 deletions tests/src/org.jooq/jooq/3.17.7/generate-metadata.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "org_jooq.jooq.JooqTest" -Pagent
Expand Down
4 changes: 4 additions & 0 deletions tests/src/org.jooq/jooq/3.18.2/generate-metadata.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "org_jooq.jooq.JooqTest" -Pagent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Copyright and related rights waived via CC0
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

./gradlew clean
./gradlew test --tests "org_liquibase.liquibase_core.LiquibaseCoreTest" -Pagent
1 change: 0 additions & 1 deletion tests/tck-build-logic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/

plugins {
id 'groovy-gradle-plugin'
id 'maven-publish'
Expand Down
1 change: 0 additions & 1 deletion tests/tck-build-logic/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/

pluginManagement {
repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright and related rights waived via CC0
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
import org.graalvm.internal.tck.harness.TckExtension

TckExtension testUtils = project.extensions.create("tck", TckExtension, project)
Loading
Loading