From 7a754b04767d390cc6a383d6f56347691cc46431 Mon Sep 17 00:00:00 2001 From: ebadiere Date: Mon, 12 Feb 2024 11:42:02 -0700 Subject: [PATCH] Fix: Adding ci. Signed-off-by: ebadiere --- .github/workflows/manual-testing.yml | 22 +++++++++++----------- .github/workflows/test-workflow.yml | 12 ++++++++---- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/manual-testing.yml b/.github/workflows/manual-testing.yml index d1eacf27b0..52bb259c1f 100644 --- a/.github/workflows/manual-testing.yml +++ b/.github/workflows/manual-testing.yml @@ -50,7 +50,7 @@ jobs: testfilter: api_batch1 networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" api_batch_2: name: API Batch 2 @@ -59,7 +59,7 @@ jobs: testfilter: api_batch2 networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" api_batch_3: name: API Batch 3 @@ -68,7 +68,7 @@ jobs: testfilter: api_batch3 networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" rpc_api_schema_conformity: name: API Conformity @@ -77,7 +77,7 @@ jobs: testfilter: api_conformity networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" erc20: name: ERC20 @@ -86,7 +86,7 @@ jobs: testfilter: erc20 networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" ratelimiter: name: Rate Limiter @@ -95,7 +95,7 @@ jobs: testfilter: ratelimiter networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" tokencreate: name: Token Create @@ -104,7 +104,7 @@ jobs: testfilter: tokencreate networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" tokenmanagement: name: Token Management @@ -113,7 +113,7 @@ jobs: testfilter: tokenmanagement networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" htsprecompilev1: name: Precompile @@ -122,7 +122,7 @@ jobs: testfilter: htsprecompilev1 networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" precompilecalls: name: Precompile @@ -131,7 +131,7 @@ jobs: testfilter: precompile networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" websocket: name: Websocket @@ -140,7 +140,7 @@ jobs: testfilter: ws networkTag: "0.47.0-alpha.4" mirrorTag: "0.98.0-SNAPSHOT" - relayTag: "0.41.1" + # relayTag: "0.41.1" publish_results: name: Publish Results diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index e46e4a3abb..69bef9f708 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -27,9 +27,9 @@ on: mirrorTag: required: false type: string - relayTag: - required: false - type: string + # relayTag: + # required: false + # type: string jobs: acceptance-workflow: @@ -52,6 +52,9 @@ jobs: node-version: 18.15 cache: npm + - name: Install packages + run: npm ci + - name: Create .env file run: cp ./packages/server/tests/localAcceptance.env .env @@ -71,7 +74,8 @@ jobs: version: nightly - name: Start the local node - run: npx hedera start -d --network-tag=${{inputs.networkTag}} --mirror-tag=${{inputs.mirrorTag}} --relay-tag=${{inputs.relayTag}} --verbose=trace + # run: npx hedera start -d --network-tag=${{inputs.networkTag}} --mirror-tag=${{inputs.mirrorTag}} --relay-tag=${{inputs.relayTag}} --verbose=trace + run: npx hedera start -d --network-tag=${{inputs.networkTag}} --mirror-tag=${{inputs.mirrorTag}} --verbose=trace timeout-minutes: 5 - name: Run the test in ${{ inputs.testfilter }}