mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
Add H2Database build workflow
This commit is contained in:
1 parent
7a3be45efd
commit
101d9e85ef
4 files changed
+42
-5
No files matched your search
@@ -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
|
||||||
|
|
||||||
@@ -34,7 +34,5 @@ jobs:
|
|||||||
path:
|
path:
|
||||||
~/.m2
|
~/.m2
|
||||||
key: build-${{ env.cache-name }}
|
key: build-${{ env.cache-name }}
|
||||||
# - name: sqlserver 2019 latest
|
- name: sqlserver 2017
|
||||||
# run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver.properties
|
|
||||||
- name: sqlserver 2017 latest
|
|
||||||
run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver17.properties
|
run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver17.properties
|
||||||
@@ -4,7 +4,6 @@
|
|||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/multi-jdk-build.yml)
|
[](https://github.com/ebean-orm/ebean/actions/workflows/multi-jdk-build.yml)
|
||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/jdk-18-ea.yml)
|
[](https://github.com/ebean-orm/ebean/actions/workflows/jdk-18-ea.yml)
|
||||||
|
|
||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/build.yml)
|
|
||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/postgres.yml)
|
[](https://github.com/ebean-orm/ebean/actions/workflows/postgres.yml)
|
||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/mysql.yml)
|
[](https://github.com/ebean-orm/ebean/actions/workflows/mysql.yml)
|
||||||
[](https://github.com/ebean-orm/ebean/actions/workflows/mariadb.yml)
|
[](https://github.com/ebean-orm/ebean/actions/workflows/mariadb.yml)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ebean.test.platform=sqlserver
|
ebean.test.platform=sqlserver
|
||||||
ebean.test.dbName=test_ebean
|
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.containerName=local_sqlserver2017
|
||||||
ebean.test.sqlserver.collation=LATIN1_GENERAL_100_CS_AS_SC
|
ebean.test.sqlserver.collation=LATIN1_GENERAL_100_CS_AS_SC
|
||||||
ebean.test.sqlserver.port=9435
|
ebean.test.sqlserver.port=9435
|
||||||
|
|||||||
Reference in new issue
Block a user