From c110d699baf6b6b30b6836811a6a9217551b8081 Mon Sep 17 00:00:00 2001 From: Logan Nguyen Date: Tue, 5 Nov 2024 15:33:04 -0600 Subject: [PATCH] draft: add CI Signed-off-by: Logan Nguyen --- .github/workflows/acceptance.yml | 2 +- .github/workflows/charts.yml | 10 +++++----- .github/workflows/conformity-workflow.yml | 10 +++++----- .github/workflows/dapp.yml | 4 ++-- .github/workflows/dev-tool-test.yml | 8 ++++---- .github/workflows/postman.yml | 6 +++--- .github/workflows/subgraph.yml | 8 ++++---- .github/workflows/test.yml | 4 ++-- 8 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index acff2a981a..3493b9402c 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main, release/**] push: - branches: [main, release/**] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] tags: [v*] concurrency: diff --git a/.github/workflows/charts.yml b/.github/workflows/charts.yml index 6aeff96c14..686593a6af 100644 --- a/.github/workflows/charts.yml +++ b/.github/workflows/charts.yml @@ -2,10 +2,10 @@ name: Charts on: pull_request: - branches: [ main, release/** ] + branches: [main, release/**] push: - branches: [ main, release/** ] - tags: [ v* ] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] + tags: [v*] concurrency: group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -29,7 +29,7 @@ jobs: - name: Setup Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: "3.11" + python-version: '3.11' - name: Setup Helm uses: Azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 @@ -57,7 +57,7 @@ jobs: - name: Setup Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: "3.11" + python-version: '3.11' - name: Setup Helm uses: Azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 diff --git a/.github/workflows/conformity-workflow.yml b/.github/workflows/conformity-workflow.yml index 8d91d51c71..f1a4eb5123 100644 --- a/.github/workflows/conformity-workflow.yml +++ b/.github/workflows/conformity-workflow.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main, release/**] push: - branches: [main, release/**] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] tags: [v*] permissions: @@ -39,7 +39,7 @@ jobs: - name: Build project run: npm run build working-directory: ./execution-apis - + - name: Upload openrpc.json as an artifact uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: @@ -63,10 +63,10 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 18 - + - name: Install make run: sudo apt-get update; sudo apt-get install build-essential -y - + - name: Checkout repo uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 @@ -95,7 +95,7 @@ jobs: uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 with: name: openrpc - + - name: Rename file run: mv openrpc.json openrpc_exec_apis.json diff --git a/.github/workflows/dapp.yml b/.github/workflows/dapp.yml index ed988075c9..ba610e7b85 100644 --- a/.github/workflows/dapp.yml +++ b/.github/workflows/dapp.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main, release/**] push: - branches: [main, release/**] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] tags: [v*] concurrency: @@ -89,5 +89,5 @@ jobs: if: ${{ always() && !cancelled() }} with: check_name: Dapp Test Report - report_paths: "**/*.xml" + report_paths: '**/*.xml' detailed_summary: true diff --git a/.github/workflows/dev-tool-test.yml b/.github/workflows/dev-tool-test.yml index e231fc9ef6..a7048cb545 100644 --- a/.github/workflows/dev-tool-test.yml +++ b/.github/workflows/dev-tool-test.yml @@ -2,10 +2,10 @@ name: Dev Tool Tests on: pull_request: - branches: [ main, release/** ] + branches: [main, release/**] push: - branches: [ main, release/** ] - tags: [ v* ] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] + tags: [v*] concurrency: group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -30,7 +30,7 @@ jobs: web3js: name: Web3js uses: ./.github/workflows/dev-tool-workflow.yml - needs: [ hardhat, truffle] + needs: [hardhat, truffle] with: command: cd ./tools/web3js-example/ && npm run test directory: ./tools/web3js-example diff --git a/.github/workflows/postman.yml b/.github/workflows/postman.yml index 06ef48641f..59c998ef15 100644 --- a/.github/workflows/postman.yml +++ b/.github/workflows/postman.yml @@ -2,10 +2,10 @@ name: Postman Endpoint Tests on: pull_request: - branches: [ main, release/** ] + branches: [main, release/**] push: - branches: [ main, release/** ] - tags: [ v* ] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] + tags: [v*] concurrency: group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/subgraph.yml b/.github/workflows/subgraph.yml index 3103587443..0380cb2326 100644 --- a/.github/workflows/subgraph.yml +++ b/.github/workflows/subgraph.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main, release/**] push: - branches: [main, release/**] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] tags: [v*] concurrency: @@ -13,7 +13,7 @@ concurrency: permissions: contents: read - + jobs: subgraph-workflow: runs-on: smart-contracts-linux-medium @@ -43,7 +43,7 @@ jobs: run: cp .env.example .env - name: Run local node - run: npx hedera start -d + run: npx hedera start -d timeout-minutes: 5 - name: Compile contracts @@ -51,7 +51,7 @@ jobs: - name: Deploy and interact with contracts run: npx hardhat prepare - + - name: Generate types run: npm run graph-codegen diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea593998b5..1e6370885e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main, release/**] push: - branches: [main, release/**] + branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client] tags: [v*] concurrency: @@ -53,7 +53,7 @@ jobs: uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: Heap Snapshots - path: "**/*.heapsnapshot" + path: '**/*.heapsnapshot' if-no-files-found: ignore - name: Upload coverage report