Add an example of the model #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | |
name: CognitiveModule_ModelImplementation_Pilot CI | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
path: CognitiveModule_ModelImplementation_Pilot | |
- name: Install jdk 21 | |
run: sudo apt install -y openjdk-21-jre | |
- name: Set up Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- name: Debug | |
run: | | |
uname -a | |
mvn --version | |
java --version | |
- name: Build and test with Maven | |
run: | | |
pushd CognitiveModule_ModelImplementation_Pilot | |
mvn mvn clean verify -f plugins/eu.coresense.CognitiveModule.parent/pom.xml |