Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into jeremy-construct-ta…
Browse files Browse the repository at this point in the history
…nssi-runtime-macro
  • Loading branch information
nanocryk committed Feb 15, 2024
2 parents 637e83e + 6f48194 commit 17ed35e
Show file tree
Hide file tree
Showing 102 changed files with 9,474 additions and 3,801 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,61 @@ jobs:
name: logs
path: logs

zombienet-tests-parathreads:
runs-on: ubuntu-latest
needs: ["set-tags", "build"]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ needs.set-tags.outputs.git_ref }}

- name: Pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"

- name: "Download binaries"
uses: actions/[email protected]
with:
name: binaries
path: target/release

- name: "Run zombie test"
run: |
chmod uog+x target/release/tanssi-node
chmod uog+x target/release/container-chain-template-simple-node
chmod uog+x target/release/container-chain-template-frontier-node
cd test
pnpm install
## Run tests
pnpm moonwall test zombie_tanssi_parathreads
- name: "Gather zombie logs"
if: failure()
run: |
ls -ltr /tmp
latest_zombie_dir=$(find /tmp -type d -iname "*zombie*" -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" ")
logs_dir="logs"
mkdir -p "$logs_dir"
find "$latest_zombie_dir" -type f -name "*.log" -exec cp {} "$logs_dir" \;
- name: "Upload zombie logs"
if: failure()
uses: actions/[email protected]
with:
name: logs-parathreads
path: logs

zombienet-tests-rotation:
runs-on: self-hosted
needs: ["set-tags", "build"]
Expand Down
Loading

0 comments on commit 17ed35e

Please sign in to comment.