Skip to content

Commit 007317d

Browse files
Merge branch 'main' into develop
2 parents dc81202 + 58b1423 commit 007317d

File tree

9 files changed

+55
-28
lines changed

9 files changed

+55
-28
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Java CI with Maven
10+
11+
on:
12+
push:
13+
branches: [ "main" ]
14+
pull_request:
15+
branches: [ "main" ]
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK 17
25+
uses: actions/setup-java@v4
26+
with:
27+
java-version: '17'
28+
distribution: 'temurin'
29+
cache: maven
30+
- name: Set up Python 3.11
31+
uses: actions/setup-python@v4
32+
with:
33+
python-version: '3.11'
34+
- name: Build with Maven
35+
run: mvn -B package --file pom.xml
36+
- name: Run Python Unit Tests
37+
run: |
38+
chmod +x build/setup_python_env.sh
39+
chmod +x test/python_unit_tests/setup_unit_test_env.sh
40+
chmod +x test/python_unit_tests/run_python_unit_tests.sh
41+
test/python_unit_tests/run_python_unit_tests.sh
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Code of Conduct for {project name}
1+
# Code of Conduct for Rune Python Generator
22

33
Please see the [Community Code of Conduct](https://www.finos.org/code-of-conduct).

build/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
setuptools>=62.0
2+
pytest

build/setup_python_env.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ rm -rf "${VENV_PATH}/${VENV_NAME}"
4040
${PYEXE} -m venv --clear "${VENV_PATH}/${VENV_NAME}" || error
4141
source "${VENV_PATH}/${VENV_NAME}/${PY_SCRIPTS}/activate" || error
4242
${PYEXE} -m pip install --upgrade pip || error
43-
${PYEXE} -m pip install "setuptools>=62.0" || error
44-
echo "***** Install Runtime"
43+
${PYEXE} -m pip install -r requirements.txt || error
44+
echo "***** Get and Install Runtime"
4545
RUNTIMEURL="https://api.github.com/repos/CloudRisk/rune-python-runtime/releases/latest"
4646
# Fetch the latest release data from the GitHub API
4747
release_data=$(curl -s $RUNTIMEURL)
@@ -58,6 +58,5 @@ else
5858
fi
5959
${PYEXE} -m pip install rune_runtime*-py3-*.whl --force-reinstall || error
6060
rm rune_runtime*-py3-*.whl
61-
${PYEXE} -m pip install pytest || error
6261
deactivate
6362

docs/home.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Rune Python Generator"
3+
date: 2025-05-07
4+
description: "This document provides an overview of the Rune Python Generator"
5+
draft: false
6+
weight: 2
7+
---
8+
9+
See [README.md](../README.md) and [BUILDANDTEST.md](../BUILDANDTEST.md) for a project description and build / testing instructions

docs/home.mdx

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/roadmap.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/team.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)