From 91a74f662ddb12f612fc6560711193ac5992ec06 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sun, 17 Jan 2021 17:45:19 +0100 Subject: [PATCH] Try to fix tests --- .github/workflows/tests.yml | 6 ++++-- .slim-lint.yml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e60b6c..7f58972 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -127,14 +127,16 @@ jobs: - name: Import PostgreSQL dump with hedgedoc working-directory: redmine + env: + PGPASSWORD: postgres run: | - psql hedgedoc < plugins/redmine_hedgedoc/test/support/hedgedoc-postgres.sql + psql --host 127.0.0.1 --port 5432 hedgedoc < plugins/redmine_hedgedoc/test/support/hedgedoc-postgres.sql if: matrix.db == 'postgres' - name: Import MySQL dump with hedgedoc working-directory: redmine run: | - mysql hedgedoc < plugins/redmine_hedgedoc/test/support/hedgedoc-mysql.sql + mysql --host 127.0.0.1 --port 3306 -U postgres hedgedoc < plugins/redmine_hedgedoc/test/support/hedgedoc-mysql.sql if: matrix.db == 'mysql' - name: Run tests diff --git a/.slim-lint.yml b/.slim-lint.yml index 09cbdd7..b56f7cb 100644 --- a/.slim-lint.yml +++ b/.slim-lint.yml @@ -25,6 +25,7 @@ linters: - Layout/MultilineOperationIndentation - Layout/TrailingBlankLines - Layout/TrailingWhitespace + - Layout/TrailingEmptyLines - Lint/BlockAlignment - Lint/EndAlignment - Lint/Void