@@ -39,16 +39,16 @@ jobs:
3939 strategy :
4040 matrix :
4141 app :
42- - { name: SpringBootPostgres, test_file: end2end/spring_boot_postgres.py }
43- - { name: SpringBootMySQL, test_file: end2end/spring_boot_mysql.py }
44- - { name: SpringBootMSSQL, test_file: end2end/spring_boot_mssql.py }
45- - { name: SpringWebfluxSampleApp, test_file: end2end/spring_webflux_postgres.py }
46- - { name: SpringMVCPostgresKotlin, test_file: end2end/spring_mvc_postgres_kotlin.py }
47- - { name: SpringMVCPostgresGroovy, test_file: end2end/spring_mvc_postgres_groovy.py }
48- - { name: JavalinPostgres, test_file: end2end/javalin_postgres.py }
49- - { name: JavalinMySQLKotlin, test_file: end2end/javalin_mysql_kotlin.py }
50- - { name: SpringBoot2.7Postgres, test_file: end2end/spring_boot_2.7_postgres.py }
51- - { name: SpringBootHyperSQL, test_file: end2end/spring_boot_hypersql.py }
42+ - { name: SpringBootPostgres, test_file: end2end/spring_boot_postgres.py, db: postgres_database }
43+ - { name: SpringBootMySQL, test_file: end2end/spring_boot_mysql.py, db: mysql_database }
44+ - { name: SpringBootMSSQL, test_file: end2end/spring_boot_mssql.py, db: mssql_database }
45+ - { name: SpringWebfluxSampleApp, test_file: end2end/spring_webflux_postgres.py, db: postgres_database }
46+ - { name: SpringMVCPostgresKotlin, test_file: end2end/spring_mvc_postgres_kotlin.py, db: postgres_database }
47+ - { name: SpringMVCPostgresGroovy, test_file: end2end/spring_mvc_postgres_groovy.py, db: postgres_database }
48+ - { name: JavalinPostgres, test_file: end2end/javalin_postgres.py, db: postgres_database }
49+ - { name: JavalinMySQLKotlin, test_file: end2end/javalin_mysql_kotlin.py, db: mysql_database }
50+ - { name: SpringBoot2.7Postgres, test_file: end2end/spring_boot_2.7_postgres.py, db: postgres_database }
51+ - { name: SpringBootHyperSQL, test_file: end2end/spring_boot_hypersql.py, db: "" }
5252 java-version : [17, 18, 19, 20, 21]
5353 distribution : ['adopt', 'corretto', 'oracle']
5454 steps :
@@ -69,10 +69,11 @@ jobs:
6969 docker build -t mock_core .
7070 docker run --name mock_core -d -p 5000:5000 mock_core
7171 - name : Start databases
72+ if : matrix.app.db != ''
7273 working-directory : ./sample-apps/databases
7374 run : |
7475 docker compose down --volumes
75- docker compose up --build -d
76+ docker compose up --build -d ${{ matrix.app.db }}
7677 - name : Install Python dependencies
7778 run : python -m pip install -r end2end/requirements.txt
7879
0 commit comments