Skip to content

Commit

Permalink
Use Deno in circleci for celo-test
Browse files Browse the repository at this point in the history
  • Loading branch information
ezdac committed Feb 3, 2025
1 parent a1cda98 commit 6263798
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1136,25 +1136,31 @@ jobs:
command: make devnet-test
- when:
condition:
equal: ['celo', <<parameters.variant>>]
equal: ['celo', <<parameters.variant>>]
steps:
# TODO: include this in the base image directly
- run:
name: install Deno v2.
command: |
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=$HOME/.local sh -s v2.1.9 &&
echo 'export PATH=$HOME/.local/bin/:${PATH}' >> $BASH_ENV
- restore_cache:
key: v1-celo-deps-{{ checksum "op-e2e/celo/package-lock.json" }}
# install dependencies
keys:
- deno-cache-v1-{{ checksum "op-e2e/celo/deno.lock" }}
- run:
working_directory: op-e2e/celo
name: install dependencies
command: npm install
# save any changes to the cache
name: Cache Deno Dependencies
command: deno run cache-deps
- save_cache:
key: v1-celo-deps-{{ checksum "op-e2e/celo/package-lock.json" }}
key: deno-cache-v1-{{ checksum "op-e2e/celo/deno.lock" }}
paths:
- op-e2e/celo/node_modules
- /deno-cache
- run:
working_directory: op-e2e/celo
environment:
CELOTEST_SPAWN_DEVNET: false
working_directory: op-e2e/celo
name: Run Celo e2e tests
command: |
SPAWN_DEVNET=false ./run_all_tests.sh
deno run tests
- run:
name: Dump op-node logs
command: |
Expand Down

0 comments on commit 6263798

Please sign in to comment.