Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
update test gha
Browse files Browse the repository at this point in the history
  • Loading branch information
John-peterson-coinbase committed Dec 4, 2024
1 parent d22c829 commit 5370ab7
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Unit Tests
on: [pull_request]

jobs:
test-agentkit:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -15,30 +15,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
# Install dependencies in parent directory first
- run: npm install
# Then install and test in working directory
- name: Install and test agentkit
working-directory: ./cdp-agentkit-core
run: |
npm install
npm i
npm run test
test-langchain:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18", "20"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
# Install dependencies in parent directory first
- run: npm install
# Then install and test in working directory
- name: Install and test langchain
working-directory: ./cdp-langchain
run: |
npm install
npm run test

0 comments on commit 5370ab7

Please sign in to comment.