Skip to content

Allow providing map and models in the $transform operation #346

Allow providing map and models in the $transform operation

Allow providing map and models in the $transform operation #346

Workflow file for this run

# This workflow will build and test a Java project with Maven
name: Unit tests
on:
workflow_dispatch:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the project
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
# https://github.com/actions/setup-java#usage
with:
java-version: 21
distribution: adopt
cache: maven
- name: Run the tests in Maven
timeout-minutes: 15
# We need a timeout here
env:
MAVEN_OPTS: -Xmx12g
run: mvn --batch-mode --no-transfer-progress --update-snapshots verify
- uses: actions/upload-artifact@v4
if: failure()
with:
name: testresults
path: |
./matchbox-server/target/surefire-reports
./matchbox-engine/target/surefire-reports
retention-days: 2
- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
matchbox-engine/target/surefire-reports/TEST-*.xml
matchbox-server/target/surefire-reports/TEST-*.xml
if: always()