From 6d86688dd4658f608fc39b4be42c8505061c499e Mon Sep 17 00:00:00 2001 From: Big Andy <8012398+big-andy-coates@users.noreply.github.com> Date: Wed, 27 Sep 2023 16:48:09 +0100 Subject: [PATCH] More logging and new workflows --- .github/workflows/build.yml | 2 +- .github/workflows/run-func-test.yml | 27 +++++++++++++++++++++++++++ .github/workflows/run-perf-test.yml | 27 +++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/run-func-test.yml create mode 100644 .github/workflows/run-perf-test.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01c0767..7cf226f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - name: Build env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: ./gradlew build coveralls + run: ./gradlew build coveralls --stacktrace - name: Publish if: github.event_name == 'push' || github.event.inputs.publish_artifacts == 'true' env: diff --git a/.github/workflows/run-func-test.yml b/.github/workflows/run-func-test.yml new file mode 100644 index 0000000..1837a3c --- /dev/null +++ b/.github/workflows/run-func-test.yml @@ -0,0 +1,27 @@ +# This workflow run the functional test + +name: Func Test + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 + - name: Set up JDK + uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 + with: + java-version: '17' + distribution: 'adopt' + - name: Setup Gradle + uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2.7.0 + with: + gradle-home-cache-cleanup: true + - name: Run + run: ./gradlew runFunctionalTests \ No newline at end of file diff --git a/.github/workflows/run-perf-test.yml b/.github/workflows/run-perf-test.yml new file mode 100644 index 0000000..52ceaa2 --- /dev/null +++ b/.github/workflows/run-perf-test.yml @@ -0,0 +1,27 @@ +# This workflow run the performance test + +name: Perf Test + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 + - name: Set up JDK + uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 + with: + java-version: '17' + distribution: 'adopt' + - name: Setup Gradle + uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2.7.0 + with: + gradle-home-cache-cleanup: true + - name: Run + run: ./gradlew runBenchmarks \ No newline at end of file