1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Adds SQLite3 to database matrix from Github CI (#41969, #30069).

Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23399 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2024-12-11 18:54:59 +00:00
parent 123d087870
commit eeafa5498d

View File

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
ruby: ['3.1', '3.2', '3.3']
db: ['postgresql', 'mysql2']
db: ['postgresql', 'mysql2', 'sqlite3']
fail-fast: false
services:
@ -60,7 +60,17 @@ jobs:
sudo rm /etc/ImageMagick-6/policy.xml
sudo mv policy.xml /etc/ImageMagick-6/policy.xml
- name: Prepare Redmine database configuration
- if: ${{ matrix.db == 'sqlite3' }}
name: Prepare test database for sqlite3
run: |
cat > config/database.yml <<EOF
test:
adapter: sqlite3
database: db/test.sqlite3
EOF
- if: ${{ matrix.db == 'mysql2' || matrix.db == 'postgresql' }}
name: Prepare test database for mysql2 and postgresql
run: |
cat > config/database.yml <<EOF
test: