|
|
|
|
@ -56,19 +56,17 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
$TRAVIS_DIR/install-backend.sh $BACKEND
|
|
|
|
|
|
|
|
|
|
- name: Init MySQL Env
|
|
|
|
|
if: ${{ env.BACKEND == 'mysql' }}
|
|
|
|
|
uses: mirromutth/mysql-action@v1.1
|
|
|
|
|
with:
|
|
|
|
|
host port: 3306 # Optional, default value is 3306. The port of host
|
|
|
|
|
container port: 3306 # Optional, default value is 3306. The port of container
|
|
|
|
|
character set server: 'utf8mb4' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld
|
|
|
|
|
collation server: 'utf8mb4_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld
|
|
|
|
|
mysql version: '5.7' # Optional, default value is "latest". The version of the MySQL
|
|
|
|
|
mysql database: 'test' # Optional, default value is "test". The specified database which will be create
|
|
|
|
|
mysql root password: "******" # Required if "mysql user" is empty, default is empty. The root superuser password
|
|
|
|
|
#mysql user: 'root' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
|
|
|
|
|
#mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user"
|
|
|
|
|
# - name: Init MySQL Env
|
|
|
|
|
# if: ${{ env.BACKEND == 'mysql' }}
|
|
|
|
|
# uses: mirromutth/mysql-action@v1.1
|
|
|
|
|
# with:
|
|
|
|
|
# host port: 3306 # Optional, default value is 3306. The port of host
|
|
|
|
|
# container port: 3306 # Optional, default value is 3306. The port of container
|
|
|
|
|
# character set server: 'utf8mb4' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld
|
|
|
|
|
# collation server: 'utf8mb4_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld
|
|
|
|
|
# mysql version: '5.7' # Optional, default value is "latest". The version of the MySQL
|
|
|
|
|
# mysql database: 'test' # Optional, default value is "test". The specified database which will be create
|
|
|
|
|
# mysql root password: "******" # Required if "mysql user" is empty, default is empty. The root superuser password
|
|
|
|
|
|
|
|
|
|
- name: Run unit test
|
|
|
|
|
run: |
|
|
|
|
|
@ -93,6 +91,6 @@ jobs:
|
|
|
|
|
$TRAVIS_DIR/run-tinkerpop-test.sh $BACKEND tinkerpop
|
|
|
|
|
|
|
|
|
|
- name: Upload coverage to Codecov
|
|
|
|
|
uses: codecov/codecov-action@v1
|
|
|
|
|
uses: codecov/codecov-action@v3.0.0
|
|
|
|
|
with:
|
|
|
|
|
file: ${{ env.REPORT_DIR }}/*.xml
|
|
|
|
|
|