Skip to content

use the second one

use the second one #55

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- id: run
run: |
ips=$(hostname -I)
i_a=($ips)
ip=${i_a[0]}
echo $ip
- uses: actions/setup-java@v1
with:
java-version: '21'
java-package: jdk
- name: Run tests
run: |
ips=$(hostname -I)
i_a=($ips)
ip=${i_a[1]}
echo $ip
mvn clean verify jacoco:report coveralls:report -Dcoveralls.token=${{ secrets.COVERALLS_TOKEN }} -Dlocal.ip=$ip