From 9b7718af58d4271eb53614b9a7dafe8777f77673 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sat, 16 Nov 2024 09:34:24 +0000 Subject: Simplify environment setup in tests.yml (#30069). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23279 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .github/workflows/tests.yml | 49 ++++++++++++++++----------------------------- 1 file changed, 17 insertions(+), 32 deletions(-) (limited to '.github') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7017286d4..ae2eca226 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: ruby: ['3.1', '3.2', '3.3'] - db: ['postgresql', 'mysql'] + db: ['postgresql', 'mysql2'] fail-fast: false services: @@ -59,46 +59,31 @@ jobs: sudo rm /etc/ImageMagick-6/policy.xml sudo mv policy.xml /etc/ImageMagick-6/policy.xml + - name: Prepare Redmine database configuration + run: | + cat > config/database.yml <