Files
uma/ci/tests/test-liquidator.sh
Evaldo FelipeandGitHub a0ec7f0261 Fix(CI): Change node version (#4213)
* Fix: CI node version

Signed-off-by: Evaldo Felipe <[email protected]>
2022-10-31 16:25:06 -03:00

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