Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Feb 5, 2025
1 parent dc87c43 commit bd95bd2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/subxt-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
--alice \
--rpc-port=9911 \
--unsafe-force-node-key-generation \
--tmp & sleep 10' > 9911.out &
--tmp' > 9911.out &
- name: Run current runtime
run: |
chmod +x next-runtime-release/moonbeam
Expand All @@ -96,19 +96,20 @@ jobs:
--alice \
--rpc-port=9977 \
--unsafe-force-node-key-generation \
--tmp & sleep 10' > 9977.out &
--tmp' > 9977.out &
- name: Run Diffs
run: |
sleep 20; # Wait for nodes to be ready
mkdir -p runtime-diffs/${{ matrix.runtime }}
subxt diff -a ws://127.0.0.1:9911 ws://127.0.0.1:9977 | sed 's/\x1b\[[0-9;]*m//g' > runtime-diffs/${{ matrix.runtime }}/${{ github.event.inputs.spec_version }}.txt
if [ $? -ne 0 ]; then
cat 9911.out
cat 9977.out
exit 1;
fi
- name: Stop Node Services
if: always()
run: |
cat 9911.out
cat 9977.out
pkill moonbeam
- name: Upload diff artifacts
Expand Down

0 comments on commit bd95bd2

Please sign in to comment.