FINERACT-1694: Documentation for Reliable event framework
This commit is contained in:
committed by
Arnold Gálovics
parent
17454d0e20
commit
fa169bb5d4
@@ -0,0 +1,32 @@
|
||||
name: Fineract Documentation build
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 # tag=v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'zulu'
|
||||
cache: gradle
|
||||
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Congfigure vega-cli
|
||||
run: npm i -g vega-cli --unsafe
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Install additional software
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install ghostscript graphviz -y
|
||||
|
||||
- name: Documentation build
|
||||
run: ./gradlew --no-daemon --console=plain doc
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Fineract Gradle build - MariaDB
|
||||
name: Fineract Build & Test - MariaDB
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
@@ -57,25 +57,28 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ghostscript graphviz -y
|
||||
|
||||
- name: Basic Auth Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain build test --fail-fast doc -x :twofactor-tests:test -x :oauth2-test:test
|
||||
|
||||
- name: 2FA Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast
|
||||
|
||||
- name: OAuth2 Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast
|
||||
- name: Build & Test
|
||||
run: |
|
||||
./gradlew --no-daemon --console=plain build test --fail-fast -x doc -x :twofactor-tests:test -x :oauth2-test:test
|
||||
./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast
|
||||
./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast
|
||||
|
||||
- name: Archive test results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: test-results
|
||||
path: integration-tests/build/reports/
|
||||
path: |
|
||||
integration-tests/build/reports/
|
||||
twofactor-tests/build/reports/
|
||||
oauth2-tests/build/reports/
|
||||
|
||||
- name: Archive server logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: server-logs
|
||||
path: integration-tests/build/cargo/
|
||||
path: |
|
||||
integration-tests/build/cargo/
|
||||
twofactor-tests/build/cargo/
|
||||
oauth2-tests/build/cargo/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Fineract Gradle build - MySQL
|
||||
name: Fineract Build & Test - MySQL
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
@@ -57,25 +57,28 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ghostscript graphviz -y
|
||||
|
||||
- name: Basic Auth Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain build test --fail-fast doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=mysql
|
||||
|
||||
- name: 2FA Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast -PdbType=mysql
|
||||
|
||||
- name: OAuth2 Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast -PdbType=mysql
|
||||
- name: Build & Test
|
||||
run: |
|
||||
./gradlew --no-daemon --console=plain build test --fail-fast -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=mysql
|
||||
./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast -PdbType=mysql
|
||||
./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast -PdbType=mysql
|
||||
|
||||
- name: Archive test results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: test-results
|
||||
path: integration-tests/build/reports/
|
||||
path: |
|
||||
integration-tests/build/reports/
|
||||
twofactor-tests/build/reports/
|
||||
oauth2-tests/build/reports/
|
||||
|
||||
- name: Archive server logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: server-logs
|
||||
path: integration-tests/build/cargo/
|
||||
path: |
|
||||
integration-tests/build/cargo/
|
||||
twofactor-tests/build/cargo/
|
||||
oauth2-tests/build/cargo/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Fineract Gradle build - PostgreSQL
|
||||
name: Fineract Build & Test - PostgreSQL
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
@@ -58,25 +58,28 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ghostscript graphviz -y
|
||||
|
||||
- name: Basic Auth Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain build test --fail-fast doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=postgresql
|
||||
|
||||
- name: 2FA Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast -PdbType=postgresql
|
||||
|
||||
- name: OAuth2 Build & Test
|
||||
run: ./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast -PdbType=postgresql
|
||||
- name: Build & Test
|
||||
run: |
|
||||
./gradlew --no-daemon --console=plain build test --fail-fast -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=postgresql
|
||||
./gradlew --no-daemon --console=plain :twofactor-tests:test --fail-fast -PdbType=postgresql
|
||||
./gradlew --no-daemon --console=plain :oauth2-tests:test --fail-fast -PdbType=postgresql
|
||||
|
||||
- name: Archive test results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: test-results
|
||||
path: integration-tests/build/reports/
|
||||
path: |
|
||||
integration-tests/build/reports/
|
||||
twofactor-tests/build/reports/
|
||||
oauth2-tests/build/reports/
|
||||
|
||||
- name: Archive server logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
|
||||
with:
|
||||
name: server-logs
|
||||
path: integration-tests/build/cargo/
|
||||
path: |
|
||||
integration-tests/build/cargo/
|
||||
twofactor-tests/build/cargo/
|
||||
oauth2-tests/build/cargo/
|
||||
|
||||
Reference in New Issue
Block a user