Skip to content

Commit 4a1c7dc

Browse files
committed
First implementation for gridsuite-computation lib
1 parent a09d5f6 commit 4a1c7dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+4496
-1
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
uses: powsybl/github-ci/.github/workflows/build-backend-lib-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
12+
with:
13+
eventType: computation_updated
14+
secrets:
15+
sonar-token: ${{ secrets.SONAR_TOKEN }}
16+
repo-token: ${{ secrets.REPO_ACCESS_TOKEN }}

.github/workflows/patch.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Patch
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branchRef:
7+
description: 'Patch branch (format: release-vX.Y.Z)'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
run-patch:
13+
uses: powsybl/github-ci/.github/workflows/patch-backend-lib-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
14+
with:
15+
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
16+
branchRef: ${{ github.event.inputs.branchRef }}
17+
secrets:
18+
VERSIONBUMP_GHAPP_PRIVATE_KEY: ${{ secrets.VERSIONBUMP_GHAPP_PRIVATE_KEY }}

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
versionType:
7+
description: 'Version type increment (major | minor)'
8+
required: true
9+
type: choice
10+
options:
11+
- major
12+
- minor
13+
14+
jobs:
15+
run-release:
16+
uses: powsybl/github-ci/.github/workflows/release-backend-lib-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
17+
with:
18+
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
19+
versionType: ${{ github.event.inputs.versionType }}
20+
secrets:
21+
VERSIONBUMP_GHAPP_PRIVATE_KEY: ${{ secrets.VERSIONBUMP_GHAPP_PRIVATE_KEY }}

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# VSCode
2+
/.vscode
3+
/.settings
4+
.classpath
5+
.factorypath
6+
.project
7+
8+
target/
9+
10+
# IntelliJ
11+
/.idea
12+
*.iml

.mvn/lombok-config-copy.marker

Whitespace-only changes.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# computation
1+
# computation
2+
3+
[![Actions Status](https://github.com/gridsuite/computation/workflows/CI/badge.svg)](https://github.com/gridsuite/computation/actions)
4+
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=org.gridsuite%computation&metric=coverage)](https://sonarcloud.io/component_measures?id=org.gridsuite%computation&metric=coverage)
5+
[![MPL-2.0 License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
6+
7+
Shared library for common computation and filter classes.

lombok.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import target/configs/powsybl-build-tools.jar!powsybl-build-tools/lombok.config

0 commit comments

Comments
 (0)