diff --git a/.github/workflows/h2database.yml b/.github/workflows/h2database.yml new file mode 100644 index 000000000..629efef7e --- /dev/null +++ b/.github/workflows/h2database.yml @@ -0,0 +1,40 @@ + +name: H2Database + + workflow_dispatch: + schedule: + - cron: '10 1 * * *' + +jobs: + build: + + runs-on: ${{ matrix.os }} + permissions: + contents: read + packages: write + strategy: + fail-fast: false + matrix: + java_version: [11] + os: [ubuntu-latest] + + steps: + - uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java_version }} + distribution: 'zulu' + - name: Maven cache + uses: actions/cache@v2 + env: + cache-name: maven-cache + with: + path: + ~/.m2 + key: build-${{ env.cache-name }} + - name: Maven version + run: mvn --version + - name: H2Database + run: mvn clean package + diff --git a/.github/workflows/sqlserver.yml b/.github/workflows/sqlserver.yml index fd10bafe6..169dd0017 100644 --- a/.github/workflows/sqlserver.yml +++ b/.github/workflows/sqlserver.yml @@ -34,7 +34,5 @@ jobs: path: ~/.m2 key: build-${{ env.cache-name }} -# - name: sqlserver 2019 latest -# run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver.properties - - name: sqlserver 2017 latest + - name: sqlserver 2017 run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver17.properties diff --git a/README.md b/README.md index 702813424..a9f4e067d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [![Multi-JDK Build](https://github.com/ebean-orm/ebean/actions/workflows/multi-jdk-build.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/multi-jdk-build.yml) [![JDK 18-ea](https://github.com/ebean-orm/ebean/actions/workflows/jdk-18-ea.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/jdk-18-ea.yml) -[![H2Database](https://github.com/ebean-orm/ebean/actions/workflows/build.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/build.yml) [![Postgres](https://github.com/ebean-orm/ebean/actions/workflows/postgres.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/postgres.yml) [![MySql](https://github.com/ebean-orm/ebean/actions/workflows/mysql.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/mysql.yml) [![MariaDB](https://github.com/ebean-orm/ebean/actions/workflows/mariadb.yml/badge.svg)](https://github.com/ebean-orm/ebean/actions/workflows/mariadb.yml) diff --git a/ebean-test/testconfig/ebean-sqlserver17.properties b/ebean-test/testconfig/ebean-sqlserver17.properties index 92efeb165..c0388b6ec 100644 --- a/ebean-test/testconfig/ebean-sqlserver17.properties +++ b/ebean-test/testconfig/ebean-sqlserver17.properties @@ -1,6 +1,6 @@ ebean.test.platform=sqlserver ebean.test.dbName=test_ebean -ebean.test.sqlserver.version=2017-latest +ebean.test.sqlserver.version=2017-CU28-ubuntu-16.04 ebean.test.sqlserver.containerName=local_sqlserver2017 ebean.test.sqlserver.collation=LATIN1_GENERAL_100_CS_AS_SC ebean.test.sqlserver.port=9435