Skip to content

Send Update Queries to seperate endpoint #185

Send Update Queries to seperate endpoint

Send Update Queries to seperate endpoint #185

Workflow file for this run

name: Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- develop
pull_request:
branches:
- develop
- main
jobs:
tests:
name: Compile and Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Testing the Java code
run: mvn package
# Only run for pull request on main or if pushed to develop
compile_native:
name: Test Native Executable Compilation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: 22
components: native-image
cache: maven
- name: 'Compile native-binary and run tests'
run: 'mvn -Pnative -Dagent=true package'
- name: 'Upload artifact'
uses: actions/upload-artifact@v4
with:
name: 'iguana-native'
path: 'target/iguana'
if-no-files-found: error