Skip to content

Update to 0.3.1 rc.0 #72

Update to 0.3.1 rc.0

Update to 0.3.1 rc.0 #72

Workflow file for this run

name: "Test"
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v26
- uses: cachix/cachix-action@v14
with:
name: esl-checked
extraPullNames: holochain-ci
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Install NPM dependencies
run: |
nix develop --command npm i
- name: Run Rust tests
run: |
nix develop --command npm run test:unit
- name: Run Tryorama tests
run: |
nix develop --command npm run test:integration
- name: Run CLI tests
run: |
nix develop --command npm run test:cli
cli-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Run CLI tests
working-directory: ./checked_cli
run: |
rustup target add wasm32-unknown-unknown
cargo install [email protected]
npm i
npm run build:happ
# Tests are independent but sweettest is so resource hungry that they run slower in parallel.
cargo test -- --test-threads=1