Skip to content

Commit

Permalink
Merge pull request #431 from coasys/dev
Browse files Browse the repository at this point in the history
0.8.0-prerelease
  • Loading branch information
jdeepee authored Dec 8, 2023
2 parents 039a107 + 189095d commit 1a48caf
Show file tree
Hide file tree
Showing 219 changed files with 38,068 additions and 42,248 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/agent-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/agent-language/hc-dna/zomes/tests && yarn install && yarn run test
- run: pnpm run build-languages
- run: cd bootstrap-languages/agent-language/hc-dna/zomes/tests && pnpm install && pnpm run test
10 changes: 7 additions & 3 deletions .github/workflows/direct-message-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/direct-message-language/hc-dna/tests && yarn install && yarn run test
- run: pnpm run build-languages
- run: cd bootstrap-languages/direct-message-language/hc-dna/tests && pnpm install && pnpm run test
16 changes: 10 additions & 6 deletions .github/workflows/file-storage-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/file-storage/hc-dna/tests && yarn install && yarn run test
- run: pnpm run build-languages
- run: cd bootstrap-languages/file-storage/hc-dna/tests && pnpm install && pnpm run test

integration:
name: Integration Test
Expand Down Expand Up @@ -92,13 +92,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build
- run: cd bootstrap-languages/file-storage && yarn run integration-test
- run: pnpm run build
- run: cd bootstrap-languages/file-storage && pnpm run integration-test
14 changes: 9 additions & 5 deletions .github/workflows/integration_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
Expand All @@ -57,16 +61,16 @@ jobs:
- name: Install GO
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.20'

- name: Install HC
run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"

- name: Yarn Install
run: yarn install
- name: pnpm Install
run: pnpm install --no-frozen-lockfile

- name: Yarn Build (builds entire workspace)
run: yarn build
- name: pnpm Build (builds entire workspace)
run: pnpm build

- name: Run binaries test script
run: ./tests/bats/bin/bats tests/binaries.bats || cat ~/Library/Logs/DiagnosticReports/*
Expand Down
33 changes: 18 additions & 15 deletions .github/workflows/integration_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@ jobs:
- name: Install GO
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.20'

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

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

- name: Cache cargo
id: cache-cargo
Expand Down Expand Up @@ -66,10 +69,10 @@ jobs:
run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"

- name: Install dependencies
run: yarn install
run: pnpm install --no-frozen-lockfile

- name: Build the workspace
run: yarn run build
run: pnpm run build

- uses: actions/cache/save@v3
if: always()
Expand All @@ -83,10 +86,10 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock') }}

- name: Run the tests
run: yarn test
run: pnpm test

# - name: Run integration tests
# run: cd ./tests/js && yarn run test-main
- name: Run integration tests
run: cd ./tests/js && pnpm run test-main

# test-windows:
# name: JS Ad4mClient <> AD4M Executor - Windows
Expand Down Expand Up @@ -120,18 +123,18 @@ jobs:
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'yarn'
# cache: 'pnpm'

# - name: Install Deno
# uses: denoland/setup-deno@v1
# with:
# deno-version: v1.32.4

# - name: Install dependencies
# run: yarn install
# run: pnpm install

# - name: Build the workspace
# run: yarn run build
# run: pnpm run build

# - uses: actions/cache/save@v3
# if: always()
Expand All @@ -148,7 +151,7 @@ jobs:
# run: |
# choco install swi-prolog
# $env:path += ";C:\Program Files\swipl\bin"
# yarn run test:windows
# pnpm run test:windows

# test-macos:
# name: JS Ad4mClient <> AD4M Executor - MacOS
Expand All @@ -166,7 +169,7 @@ jobs:
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'yarn'
# cache: 'pnpm'

# - name: Cache cargo
# id: cache-cargo
Expand All @@ -190,10 +193,10 @@ jobs:
# deno-version: v1.32.4

# - name: Install dependencies
# run: yarn install
# run: pnpm install

# - name: Build the workspace
# run: yarn run build
# run: pnpm run build

# - uses: actions/cache/save@v3
# if: always()
Expand All @@ -207,4 +210,4 @@ jobs:
# key: $${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock') }}

# - name: Run the tests
# run: yarn test
# run: pnpm test
72 changes: 45 additions & 27 deletions .github/workflows/p-diff-sync-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-pull
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-pull

render:
name: Render Test
Expand Down Expand Up @@ -118,18 +121,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-render
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-render

revisions:
name: Revisions Test
Expand Down Expand Up @@ -164,18 +170,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-revisions
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-revisions

signals:
name: Signals Test
Expand Down Expand Up @@ -210,18 +219,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-signals
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-signals


stress:
Expand Down Expand Up @@ -257,18 +269,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-stress
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-stress

telepresence:
name: Telepresence
Expand Down Expand Up @@ -303,18 +318,21 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: pnpm install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && yarn install && yarn run test-telepresence
- run: pnpm run build-languages
- run: cd bootstrap-languages/p-diff-sync/hc-dna/zomes/tests && pnpm install && pnpm run test-telepresence

# integration:
# name: Integration Test
Expand Down Expand Up @@ -357,7 +375,7 @@ jobs:
# deno-version: v1.32.4

# - run: rustup target add wasm32-unknown-unknown
# - run: yarn install
# - run: pnpm install
# - run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
# - run: yarn run build
# - run: cd bootstrap-languages/p-diff-sync && yarn run integration-test
# - run: pnpm run build
# - run: cd bootstrap-languages/p-diff-sync && pnpm run integration-test
Loading

0 comments on commit 1a48caf

Please sign in to comment.