Skip to content

graphviz installation instruction #3

graphviz installation instruction

graphviz installation instruction #3

Workflow file for this run

name: Java Maven CI for Tests
on:
push:
branches: [ main, testing ]
pull_request:
branches: [ main, testing ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
- name: Install Graphviz
run: sudo apt-get install -y graphviz
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install dependencies
run: mvn clean package -DskipTests
- name: Run tests
run: mvn test