Improve smoke tests
This commit is contained in:
parent
bd5e1ed4ab
commit
9cf3d9a90b
@ -1,25 +1,41 @@
|
||||
summary: Basic smoke test - OpenJDK 8
|
||||
prepare:
|
||||
how: install
|
||||
exclude:
|
||||
- maven-openjdk8
|
||||
- maven-openjdk11
|
||||
- maven-openjdk17
|
||||
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
|
||||
execute:
|
||||
script:
|
||||
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user