Merge pull request #18 from ThomasRubini/ci_tests
This commit is contained in:
commit
08d815cd05
@ -1,4 +1,4 @@
|
||||
name: Build
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -19,12 +19,29 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew jar
|
||||
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: PackageViewer jar
|
||||
path: ./build/libs/PackageViewer*.jar
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
|
||||
- name: Run testsClassDiagram1
|
||||
run: |
|
||||
./gradlew test
|
Loading…
Reference in New Issue
Block a user