Skip to content

Commit f3415b1

Browse files
author
Hélios GILLES
committed
Activate tests module
1 parent 8d00fd4 commit f3415b1

File tree

5 files changed

+27
-28
lines changed

5 files changed

+27
-28
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,53 @@ on:
66
- master
77
tags:
88
- "*.*.*"
9+
910
jobs:
1011
build:
1112
runs-on: ubuntu-latest
1213
steps:
13-
- name: Checkout
14+
15+
- name: Checkout
1416
uses: actions/checkout@v4.2.2
17+
1518
- uses: actions/cache@v4.2.3
1619
with:
1720
path: /root/.jbang
1821
key: $-jbang-$
1922
restore-keys: |
2023
$-jbang-
21-
- name: Set up Maven
22-
uses: stCarolas/setup-maven@v5
23-
with:
24-
maven-version: 3.9.9
25-
- name: Set up JDK 21
26-
uses: actions/setup-java@v4.7.1
27-
with:
28-
distribution: temurin
29-
java-version: 21
30-
- name: Set up cache
31-
uses: actions/cache@v4.2.3
32-
with:
24+
25+
- name: Set up Maven
26+
uses: stCarolas/setup-maven@v5
27+
with:
28+
maven-version: 3.9.9
29+
30+
- name: Set up JDK 21
31+
uses: actions/setup-java@v4.7.1
32+
with:
33+
distribution: temurin
34+
java-version: 21
35+
36+
- name: Set up cache
37+
uses: actions/cache@v4.2.3
38+
with:
3339
path: ~/.m2/repository
3440
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3541
restore-keys: |
3642
${{ runner.os }}-maven-
37-
- name: Build
38-
run: |
39-
mvn --batch-mode -Dtycho.pomless.aggregator.names=plugins,features,sites clean verify
40-
shell: bash
43+
44+
- name: Build
45+
uses: GabrielBB/xvfb-action@v1.7
46+
with:
47+
run: mvn --batch-mode -Dtycho.pomless.aggregator.names=plugins,tests,features,sites clean verify
48+
4149
- name: Flatten p2 update site
4250
uses: jbangdev/jbang-action@v0.125.1
4351
with:
4452
trust: https://gist.github.com
4553
script: https://gist.github.com/fbricon/3c718d03f55c3ceba5dea570af4af5f8
4654
args: ./sites/org.sonatype.m2e.webby.repository
55+
4756
- name: Upload flat p2 update site
4857
if: github.ref == 'refs/heads/master'
4958
uses: marvinpinto/action-automatic-releases@latest

features/pom.tycho

Lines changed: 0 additions & 2 deletions
This file was deleted.

plugins/pom.tycho

Lines changed: 0 additions & 2 deletions
This file was deleted.

pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
<modules>
3030
<module>plugins</module>
31+
<module>tests</module>
3132
<module>features</module>
3233
<module>sites</module>
3334
</modules>
@@ -54,11 +55,6 @@
5455
<version>${tycho.version}</version>
5556
<extensions>true</extensions>
5657
</plugin>
57-
<plugin>
58-
<groupId>org.eclipse.tycho</groupId>
59-
<artifactId>tycho.versions-plugin</artifactId>
60-
<version>${tycho.version}</version>
61-
</plugin>
6258
<plugin>
6359
<groupId>org.eclipse.tycho</groupId>
6460
<artifactId>tycho-p2-repository-plugin</artifactId>

sites/pom.tycho

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)