Skip to content

Commit

Permalink
fix(e2e-tests): SWARM_HOST env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fbozic committed Dec 27, 2024
1 parent 1f4d874 commit 12ab231
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:

- name: Build apps
run: |
export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1)
echo "$SWARM_HOST"
./apps/kv-store/build.sh
- name: Build contracts
Expand All @@ -47,8 +50,7 @@ jobs:
NO_COLOR: '1'
# RUST_LOG: calimero_node=debug,calimero_network=debug
run: |
SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}')
export $SWARM_PORT
export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1)
echo "Running e2e tests, check job summary for details"
echo "# E2E tests 🏗️" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 12ab231

Please sign in to comment.