Skip to content

Commit

Permalink
Try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Jan 17, 2021
1 parent 05990da commit 91a74f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .slim-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ linters:
- Layout/MultilineOperationIndentation
- Layout/TrailingBlankLines
- Layout/TrailingWhitespace
- Layout/TrailingEmptyLines
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
Expand Down

0 comments on commit 91a74f6

Please sign in to comment.