Skip to content

Commit

Permalink
adds workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Apr 1, 2024
1 parent 9ff05c9 commit 5b494a1
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/embeddingstore-neo4j-springai.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: neo4j-springai CI Build

on:
push:
paths:
- "embeddingstores/neo4j-springai/**"
branches: [main]
pull_request:
paths:
- "embeddingstores/neo4j-springai/**"
types:
- opened
- synchronize
- reopened

jobs:
build:
name: Run Unit & Integration Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: embeddingstores/neo4j-springai
strategy:
matrix:
distribution: [ 'temurin' ]
java: [ '21' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up JDK ${{ matrix.java }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
cache: 'maven'
- name: Build and analyze
run: ./mvnw clean verify
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.learning.ai.model.request;

public record AIChatRequest(String query) {}

0 comments on commit 5b494a1

Please sign in to comment.