Skip to content

Commit 8b58263

Browse files
authored
Added new github workflow
1 parent 94d3534 commit 8b58263

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test-on-main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test with javaxt-core-test
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout javaxt-core
15+
uses: actions/checkout@v4
16+
17+
- name: Set up JDK 8
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: '8'
22+
23+
- name: Clone javaxt-core-test
24+
run: git clone https://github.com/javaxt-project/javaxt-core-test.git
25+
26+
- name: Build and test with javaxt-core-test
27+
run: |
28+
cd javaxt-core-test
29+
mvn clean install -Djavaxt.core.local.dir=../src

0 commit comments

Comments
 (0)