|
76 | 76 | - name: Felix Log |
77 | 77 | if: steps.changes.outputs.log == 'true' |
78 | 78 | run: mvn -B -V -Dstyle.color=always --file log/pom.xml clean verify |
| 79 | + # Built and installed before Felix HTTP, whose integration tests run on it. |
| 80 | + # Also runs when only http changed, so those tests always exercise the framework |
| 81 | + # in this repository rather than the last release. See FELIX-6869. |
| 82 | + - name: Felix Framework |
| 83 | + if: steps.changes.outputs.framework == 'true' || steps.changes.outputs.http == 'true' |
| 84 | + run: mvn -B -V -Dstyle.color=always --file framework/pom.xml clean install |
79 | 85 | - name: Felix HTTP |
80 | 86 | if: steps.changes.outputs.http == 'true' |
81 | | - run: mvn -B -V -Dstyle.color=always "-Dit.test=!MissingWebsocketDependenciesIT" --file http/pom.xml clean install verify "-Dmaven.repo.local=/home/runner/.m2/repository/" |
| 87 | + run: | |
| 88 | + FRAMEWORK_VERSION=$(mvn -B -q --file framework/pom.xml help:evaluate -Dexpression=project.version -DforceStdout) |
| 89 | + echo "Running the integration tests against framework $FRAMEWORK_VERSION" |
| 90 | + mvn -B -V -Dstyle.color=always "-Dit.test=!MissingWebsocketDependenciesIT" --file http/pom.xml clean install verify "-Dmaven.repo.local=/home/runner/.m2/repository/" "-Dfelix.framework.version=$FRAMEWORK_VERSION" |
82 | 91 | - name: Felix Maven bundle plugin |
83 | 92 | if: steps.changes.outputs.maven-bundle-plugin == 'true' |
84 | 93 | run: mvn -B -V -Dstyle.color=always --file tools/maven-bundle-plugin/pom.xml clean install verify |
|
88 | 97 | - name: Felix Webconsole |
89 | 98 | if: steps.changes.outputs.webconsole == 'true' |
90 | 99 | run: mvn -B -V -Dstyle.color=always --file webconsole/pom.xml clean install verify |
91 | | - - name: Felix Framework |
92 | | - if: steps.changes.outputs.framework == 'true' |
93 | | - # install, not verify: the TCK below is a separate Maven invocation and resolves |
94 | | - # the framework from the repository, so without installing it silently tests |
95 | | - # whatever org.apache.felix.framework is published rather than the build under |
96 | | - # test. |
97 | | - run: mvn -B -V -Dstyle.color=always --file framework/pom.xml clean install |
98 | 100 | - name: OSGi-TCK Framework |
99 | 101 | if: steps.changes.outputs.framework == 'true' |
100 | 102 | run: mvn -B -V -Dstyle.color=always --file framework.tck/pom.xml clean verify |
|
0 commit comments