Skip to content

chore(cactus-check-connection-ethereum-validator): remove old script #1512

chore(cactus-check-connection-ethereum-validator): remove old script

chore(cactus-check-connection-ethereum-validator): remove old script #1512

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: CC-BY-4.0
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Unit Test Corda Interop App
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check_code_changed:
outputs:
interop_cordapp_changed: ${{ steps.changes.outputs.interop_cordapp_changed }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dorny/[email protected]
id: changes
with:
filters: |
interop_cordapp_changed:
- './weaver/common/protos-java-kt/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
- './weaver/core/network/corda-interop-app/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
- '.github/workflows/test_weaver-corda-interop-app.yaml'
unit_test_interop_cordapp:
needs: check_code_changed
if: needs.check_code_changed.outputs.interop_cordapp_changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 8
uses: actions/[email protected]
with:
java-version: '8'
distribution: 'adopt'
- name: Build Protos (Local)
run: make build
working-directory: weaver/common/protos-java-kt
- name: Build Corda Interop App (Local)
run: make build-local
working-directory: weaver/core/network/corda-interop-app
- name: Run Tests (Local)
run: make test
working-directory: weaver/core/network/corda-interop-app