@@ -21,10 +21,14 @@ jobs:
2121 run : echo "IMAGE=${{ env.IMAGE }}" >> $GITHUB_OUTPUT
2222
2323 smoldot-connectivity-test :
24- name : Smoldot connectivity test (Westend Asset Hub )
24+ name : Smoldot connectivity test (${{ matrix.network }} )
2525 runs-on : parity-large
2626 needs : [set-image]
2727 container : ${{ needs.set-image.outputs.IMAGE }}
28+ strategy :
29+ fail-fast : false
30+ matrix :
31+ network : [westend, kusama, polkadot, paseo]
2832 steps :
2933 - name : Checkout repository
3034 uses : actions/checkout@v6
@@ -40,16 +44,16 @@ jobs:
4044 echo "🔧 Building staking-miner..."
4145 cargo build --release
4246
43- - name : Test smoldot connectivity to Westend Asset Hub
47+ - name : Test smoldot connectivity to ${{ matrix.network }} Asset Hub
4448 run : |
45- echo "🔗 Testing smoldot connectivity to Westend Asset Hub..."
49+ echo "🔗 Testing smoldot connectivity to ${{ matrix.network }} Asset Hub..."
4650 echo "Note: Initial sync may take a few minutes..."
4751
4852 # Run the info command with smoldot to verify connectivity
4953 # Use timeout to prevent hanging indefinitely (10 minutes should be enough for initial sync)
50- timeout 600 ./target/release/polkadot-staking-miner --smoldot westend info
54+ timeout 600 ./target/release/polkadot-staking-miner --smoldot ${{ matrix.network }} info
5155
52- echo "✅ Smoldot connectivity test passed!"
56+ echo "✅ Smoldot connectivity test passed for ${{ matrix.network }} !"
5357
5458 - name : Notify smoldot test failure
5559 if : failure()
5963 access_token : ${{ secrets.MATRIX_ACCESS_TOKEN }}
6064 server : m.parity.io
6165 message : |
62- @room Smoldot connectivity test failed https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks/${{ github.run_id }}
66+ @room Smoldot connectivity test failed for ${{ matrix.network }} https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks/${{ github.run_id }}
6367
6468 nightly-test :
6569 runs-on : parity-large
0 commit comments