mirror of
https://github.com/luxfi/oracle.git
synced 2026-10-30 15:23:21 +00:00
* Fix: CI node version Signed-off-by: Evaldo Felipe <[email protected]>
23 lines
647 B
Bash
Executable File
23 lines
647 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cat << EOF
|
|
test-liquidator-package:
|
|
docker:
|
|
- image: cimg/node:16.17.0
|
|
- image: trufflesuite/ganache-cli
|
|
command: ganache-cli -i 1234 -l 9000000 -p 9545
|
|
working_directory: ~/protocol
|
|
resource_class: medium+
|
|
parallelism: 10
|
|
steps:
|
|
- restore_cache:
|
|
key: protocol-completed-build-{{ .Environment.CIRCLE_SHA1 }}
|
|
- run:
|
|
name: Run tests
|
|
command: |
|
|
pwd
|
|
cd packages/liquidator
|
|
circleci tests glob "test/**/*.js" | circleci tests split > /tmp/test-files
|
|
yarn hardhat test ./$(echo '$(cat /tmp/test-files)')
|
|
EOF
|