Skip to content

feat: Enable integration tests with Mistral #35

feat: Enable integration tests with Mistral

feat: Enable integration tests with Mistral #35

Workflow file for this run

name: Development Build
on:
push:
branches: [ Development ]
pull_request:
branches: [ Development ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create mongo Docker container
id: build_mongo_docker
uses: DigiPie/mongo-action@v2.0.1
with:
image-version: latest
port: 27017
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: Development
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '25'
- name: Cache Maven repository
uses: actions/cache@v4
with:
path: .m2/repository # maven repository files are stored here
key: ${{ runner.OS }}-maven-${{ hashFiles('pom.xml') }}
- name: Override Mongo connection url
uses: myci-actions/export-env-var@1
with:
name: _TEST_QUARKUS_MONGODB_PROJECTS_CONNECTION_STRING
value: "mongodb://localhost:27017"
- name: Build with Maven
run: mvn -B package --file pom.xml
env:
QUARKUS_LANGCHAIN4J_MISTRALAI_API_KEY: ${{ secrets.QUARKUS_LANGCHAIN4J_MISTRALAI_API_KEY }}