Skip to content

Commit

Permalink
add setup test in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Feb 17, 2025
1 parent efafc12 commit 3f930cf
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/setup-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Zombienet Setup Tests

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
setup_test:
strategy:
matrix:
target: [ubunu-latest, macos-latest]
runs-on: ${{ matrix.target }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install && npm update
working-directory: "./javascript"
- run: npm run build
working-directory: "./javascript"
- run: |
PDW=$(pwd)
mkdir /tmp/a
cd /tmp/a
$PWD/packages/cli/dist/cli.js setup -y all
working-directory: "./javascript"
- name: Clean
run: rm -rf /tmp/a

0 comments on commit 3f930cf

Please sign in to comment.