maven/plans/smoke.fmf
Mikolaj Izdebski 5de5d7debe Reorder sections of smoke test definition
Discover happens before prepare.
2022-08-19 07:40:11 +02:00

42 lines
903 B
Plaintext

discover:
how: shell
tests:
- name: /smoke/ensure-single-jdk
test: "! rpm -qa | grep ^java- | grep -v ^java-${JDK_VERSION}-openjdk-"
- name: /smoke/show-version
test: mvn -v
- name: /smoke/dependency-get
test: rm -rf $HOME/.m2 && mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
prepare:
how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
execute:
how: tmt
/jdk8:
summary: Basic smoke tests (OpenJDK 8)
environment:
JDK_VERSION: 1.8.0
prepare+:
exclude-:
- maven-openjdk8
/jdk11:
summary: Basic smoke tests (OpenJDK 11)
environment:
JDK_VERSION: 11
prepare+:
exclude-:
- maven-openjdk11
/jdk17:
summary: Basic smoke tests (OpenJDK 17)
environment:
JDK_VERSION: 17
prepare+:
exclude-:
- maven-openjdk17