@@ -255,295 +255,3 @@ jobs:
255255 with :
256256 name : test-reports-windows-jdk11-jvm
257257 path : ' test-reports.tgz'
258-
259- tcks-test :
260- name : TCKS Test
261- needs : build-jdk11
262- runs-on : ubuntu-latest
263- timeout-minutes : 120
264-
265- steps :
266- - uses : actions/checkout@v2
267- - name : Reclaim Disk Space
268- run : .github/ci-prerequisites.sh
269- - name : Set up JDK 11
270- # Uses sha for added security since tags can be updated
271- uses : joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d
272- with :
273- java-version : 11
274- - name : Download Maven Repo
275- uses : actions/download-artifact@v1
276- with :
277- name : maven-repo
278- path : .
279- - name : Extract Maven Repo
280- shell : bash
281- run : tar -xzvf maven-repo.tgz -C ~
282- - name : Build with Maven
283- run : mvn -B --settings .github/mvn-settings.xml -Dno-native -Dno-format -DskipTests -Dtcks install
284- - name : Verify with Maven
285- run : mvn -B --settings .github/mvn-settings.xml -f tcks/pom.xml verify
286- - name : Prepare failure archive (if maven failed)
287- if : failure()
288- shell : bash
289- run : find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
290- - name : Upload failure Archive (if maven failed)
291- uses : actions/upload-artifact@v1
292- if : failure()
293- with :
294- name : test-reports-tcks
295- path : ' test-reports.tgz'
296-
297- native-tests :
298- name : Native Tests - ${{matrix.category}}
299- needs : build-jdk11
300- runs-on : ubuntu-latest
301- # Ignore the following YAML Schema error
302- timeout-minutes : ${{matrix.timeout}}
303- strategy :
304- max-parallel : 8
305- fail-fast : false
306- matrix :
307- category : [Main, Data1, Data2, Data3, Data4, Data5, Security1, Security2, Security3, Amazon, Messaging, Cache, HTTP, Misc1, Misc2, Misc3, Misc4, Spring, gRPC]
308- include :
309- - category : Main
310- postgres : " true"
311- timeout : 30
312- test-modules : main
313- - category : Data1
314- mariadb : " true"
315- mssql : " true"
316- timeout : 50
317- test-modules : >
318- jpa-h2
319- jpa-mariadb
320- jpa-mssql
321- jpa-derby
322- jpa-without-entity
323- hibernate-tenancy
324- - category : Data2
325- mysql : " true"
326- postgres : " true"
327- timeout : 35
328- test-modules : >
329- jpa
330- jpa-postgresql
331- jpa-mysql
332- reactive-mysql-client
333- - category : Data3
334- postgres : " true"
335- timeout : 60
336- test-modules : >
337- flyway
338- hibernate-orm-panache
339- hibernate-orm-panache-kotlin
340- liquibase
341- - category : Data4
342- neo4j : " true"
343- timeout : 40
344- test-modules : >
345- mongodb-client
346- mongodb-panache
347- neo4j
348- hibernate-orm-rest-data-panache
349- - category : Data5
350- postgres : " true"
351- timeout : 40
352- test-modules : >
353- hibernate-search-elasticsearch
354- narayana-stm
355- narayana-jta
356- reactive-pg-client
357- - category : Amazon
358- amazonServices : " true"
359- timeout : 25
360- test-modules : >
361- amazon-services
362- amazon-lambda
363- amazon-lambda-http
364- - category : Messaging
365- timeout : 65
366- test-modules : >
367- artemis-core
368- artemis-jms
369- kafka
370- kafka-streams
371- reactive-messaging-amqp
372- - category : Security1
373- timeout : 40
374- keycloak : " true"
375- test-modules : >
376- elytron-security-oauth2
377- elytron-security
378- elytron-security-jdbc
379- elytron-undertow
380- elytron-security-ldap
381- - category : Security2
382- timeout : 60
383- keycloak : " true"
384- test-modules : >
385- elytron-resteasy
386- oidc
387- oidc-code-flow
388- oidc-tenancy
389- keycloak-authorization
390- - category : Security3
391- timeout : 40
392- test-modules : >
393- vault
394- vault-app
395- vault-agroal
396- - category : Cache
397- timeout : 45
398- test-modules : >
399- infinispan-cache-jpa
400- infinispan-client
401- infinispan-embedded
402- cache
403- - category : HTTP
404- timeout : 45
405- test-modules : >
406- resteasy-jackson
407- resteasy-mutiny
408- vertx
409- vertx-http
410- vertx-graphql
411- virtual-http
412- rest-client
413- - category : Misc1
414- timeout : 50
415- test-modules : >
416- maven
417- jackson
418- jsonb
419- jsch
420- jgit
421- quartz
422- qute
423- consul-config
424- - category : Misc2
425- timeout : 45
426- test-modules : >
427- tika
428- hibernate-validator
429- test-extension
430- logging-gelf
431- bootstrap-config
432- optaplanner-jackson
433- optaplanner-jsonb
434- # kubernetes-client alone takes 30mn+
435- - category : Misc3
436- timeout : 50
437- test-modules : >
438- kubernetes-client
439- - category : Misc4
440- timeout : 20
441- test-modules : >
442- smallrye-graphql
443- picocli-native
444- - category : Spring
445- timeout : 40
446- test-modules : >
447- spring-di
448- spring-web
449- spring-data-jpa
450- spring-boot-properties
451- spring-cloud-config-client
452- - category : gRPC
453- timeout : 50
454- test-modules : >
455- grpc-health
456- grpc-interceptors
457- grpc-mutual-auth
458- grpc-plain-text
459- grpc-proto-v2
460- grpc-streaming
461- grpc-tls
462- steps :
463- # These should be services, but services do not (yet) allow conditional execution
464- - name : Postgres Service
465- run : |
466- docker run --rm --publish 5432:5432 --name build-postgres \
467- -e POSTGRES_USER=$DB_USER -e POSTGRES_PASSWORD=$DB_PASSWORD -e POSTGRES_DB=$DB_NAME \
468- -d postgres:10.5
469- if : matrix.postgres
470- - name : MySQL Service
471- run : |
472- sudo service mysql stop || true
473- docker run --rm --publish 3306:3306 --name build-mysql \
474- -e MYSQL_USER=$DB_USER -e MYSQL_PASSWORD=$DB_PASSWORD -e MYSQL_DATABASE=$DB_NAME -e MYSQL_RANDOM_ROOT_PASSWORD=true \
475- -d mysql:5 --skip-ssl
476- if : matrix.mysql
477- - name : Maria DB Service
478- run : |
479- docker run --rm --publish 3308:3306 --name build-mariadb \
480- -e MYSQL_USER=$DB_USER -e MYSQL_PASSWORD=$DB_PASSWORD -e MYSQL_DATABASE=$DB_NAME -e MYSQL_ROOT_PASSWORD=secret \
481- -d mariadb:10.4
482- if : matrix.mariadb
483- - name : MS-SQL Service
484- run : |
485- docker run --rm --publish 1433:1433 --name build-mssql \
486- -e ACCEPT_EULA=Y -e SA_PASSWORD=ActuallyRequired11Complexity \
487- -d microsoft/mssql-server-linux:2017-CU12
488- if : matrix.mssql
489- - name : Amazon Services
490- run : |
491- docker run --rm --publish 8000:4569 --publish 8008:4572 --publish 8009:4575 --publish 8010:4576 --name build-amazon-service-clients -e SERVICES=s3,dynamodb,sns,sqs -e START_WEB=0 \
492- -d localstack/localstack:0.11.1
493- if : matrix.amazonServices
494- - name : Neo4j Service
495- run : |
496- docker run --rm --publish 7687:7687 --name build-neo4j \
497- -e NEO4J_AUTH=neo4j/secret -e NEO4J_dbms_memory_pagecache_size=10M -e NEO4J_dbms_memory_heap_initial__size=10M \
498- -d neo4j/neo4j-experimental:4.0.0-rc01
499- if : matrix.neo4j
500- - name : Keycloak Service
501- run : |
502- docker run --rm --publish 8180:8080 --publish 8543:8443 --name build-keycloak \
503- -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e JAVA_OPTS=" \
504- -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M \
505- -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true \
506- -Dkeycloak.profile.feature.upload_scripts=enabled" \
507- -d quay.io/keycloak/keycloak:10.0.0
508- if : matrix.keycloak
509- - uses : actions/checkout@v2
510- - name : Set up JDK 11
511- # Uses sha for added security since tags can be updated
512- uses : joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d
513- with :
514- java-version : 11
515- - name : Reclaim Disk Space
516- run : .github/ci-prerequisites.sh
517- - name : Download Maven Repo
518- uses : actions/download-artifact@v1
519- with :
520- name : maven-repo
521- path : .
522- - name : Extract Maven Repo
523- shell : bash
524- run : tar -xzvf maven-repo.tgz -C ~
525- - name : Build with Maven
526- env :
527- TEST_MODULES : ${{matrix.test-modules}}
528- CATEGORY : ${{matrix.category}}
529- run : |
530- for i in $TEST_MODULES
531- do modules+=("integration-tests/$i"); done
532- IFS=,
533- eval mvn -pl "${modules[*]}" $NATIVE_TEST_MAVEN_OPTS
534- # add the 'simple with spaces' project to the run of 'Misc1' by executing it explicitly
535- # done because there is no good way to pass strings with empty values to the previous command
536- # so this hack is as good as any
537- if [ "$CATEGORY" == "Misc1" ]; then
538- mvn -Dnative -Dquarkus.native.container-build=true -B --settings .github/mvn-settings.xml -f 'integration-tests/simple with space/' verify
539- fi
540- - name : Prepare failure archive (if maven failed)
541- if : failure()
542- shell : bash
543- run : find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
544- - name : Upload failure Archive (if maven failed)
545- uses : actions/upload-artifact@v1
546- if : failure()
547- with :
548- name : test-reports-native-${{matrix.category}}
549- path : ' test-reports.tgz'
0 commit comments