Skip to content

Commit

Permalink
set the ip
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Jan 23, 2025
1 parent b8975a8 commit 1bec2ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:

- id: ip-test
run: |
ips=$(hostname -I)
i_a=($ips)
echo The ip ${i_a[0]}
echo The ip
- uses: actions/setup-java@v1
with:
Expand All @@ -29,5 +28,8 @@ jobs:

- name: Run tests
run: |
mvn clean verify jacoco:report coveralls:report -Dcoveralls.token=${{ secrets.COVERALLS_TOKEN }}
ips=$(hostname -I)
i_a=($ips)
ip=${i_a[0]}
mvn clean verify jacoco:report coveralls:report -Dcoveralls.token=${{ secrets.COVERALLS_TOKEN }} -Dlocal.ip=$ip

0 comments on commit 1bec2ee

Please sign in to comment.