Skip to content

decoupling zome call signer logic from js-client #925

decoupling zome call signer logic from js-client

decoupling zome call signer logic from js-client #925

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- "main"
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
- name: Set up cachix
uses: cachix/cachix-action@v12
with:
name: holochain-ci
- name: Cache test zome build
uses: actions/cache@v3
env:
cache-name: test-zome
with:
path: test/e2e/fixture/zomes/foo/target
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
- name: Run all tests
id: build-and-test
run: nix develop -c './run-test.sh'
- name: Setup tmate session if a previous step failed
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3