Skip to content
Snippets Groups Projects
Commit b87273e6 authored by quentin.fasler's avatar quentin.fasler
Browse files

rename bdd

parent 3de1c380
Branches
No related tags found
No related merge requests found
Pipeline #28910 passed
......@@ -3,11 +3,6 @@ image: maven:3.9.6-eclipse-temurin-21
stages:
- test
cache:
paths:
- .m2/repository
test_job:
stage: test
services:
......@@ -20,6 +15,8 @@ test_job:
before_script:
- apt-get update && apt-get install -y mariadb-client
- mysql -h db -P 3307 -uroot -proot quiz < src/main/resources/quiz.sql
- sed -i 's/localhost/db/g' src/main/resources/application.properties
script:
- mvn test
......
spring.datasource.url=jdbc:mariadb://db:3307/quiz
spring.datasource.url=jdbc:mariadb://localhost:3307/quiz
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment