Skip to content

Commit fbe1cbb

Browse files
committed
only run non-devnet try runtime if we are targeting devnet/testnet/main
1 parent 51b3d1c commit fbe1cbb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/try-runtime.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
check-testnet:
2626
name: check testnet
27+
if: contains(github.base_ref, 'testnet') || contains(github.base_ref, 'devnet') || contains(github.base_ref, 'main')
2728
runs-on: SubtensorCI
2829
steps:
2930
- name: Checkout sources
@@ -33,16 +34,18 @@ jobs:
3334
uses: "paritytech/[email protected]"
3435
with:
3536
runtime-package: "node-subtensor-runtime"
36-
node-uri: "wss://wss://test-archive.dev.opentensor.ai:443"
37+
node-uri: "wss://test-archive.dev.opentensor.ai:443"
3738
checks: "all"
3839
extra-args: "--disable-spec-version-check --no-weight-warnings"
3940

4041
check-finney:
4142
name: check finney
43+
if: contains(github.base_ref, 'testnet') || contains(github.base_ref, 'devnet') || contains(github.base_ref, 'main')
4244
runs-on: SubtensorCI
4345
steps:
4446
- name: Checkout sources
4547
uses: actions/checkout@v4
48+
4649
- name: Run Try Runtime Checks
4750
uses: "paritytech/[email protected]"
4851
with:

0 commit comments

Comments
 (0)