Skip to content

Commit

Permalink
feat(ci): move some logic to the action
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Aug 28, 2023
1 parent 7439af1 commit efa6645
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ jobs:
compose-file: "./test/spec-tests/launchers/rundler-launcher/docker-compose.yml"
env:
TAG: "latest"

# - name: run spec tests
# run: ./test/spec-tests/ci/run-spec-tests.sh
- name: run spec tests
run: ./test/spec-tests/ci/run-spec-tests.sh

lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions test/spec-tests/ci/run-spec-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
set -x
cd "$(dirname "$0")"

(cd ../bundler-spec-tests && pdm install && pdm run update-deps)

docker build ../../.. -t alchemy-platform/rundler:latest
(cd ../bundler-spec-tests && pdm run update-deps)

(cd ../bundler-spec-tests && pdm run test --launcher-script=../launchers/rundler-launcher/rundler-launcher.sh $@)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ case $1 in
;;

start)
docker-compose up -d --wait
cast send --from $(cast rpc eth_accounts | tail -n 1 | tr -d '[]"') --value 1ether 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 > /dev/null
cd ../../bundler-spec-tests/@account-abstraction && yarn deploy --network localhost
;;
stop)
docker-compose down -t 3
echo "stopping"
;;

*)
Expand Down

0 comments on commit efa6645

Please sign in to comment.