diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 880022c..065be26 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,12 +73,10 @@ jobs: - name: Run tests on Alpine docker run: | docker run --rm -t -v $(pwd):/feedzai-openml-java -e FDZ_OPENML_JAVA_LIBC="musl" alpine:3.18.4 \ - /bin/sh -c 'apk add clang openjdk8 maven bash && \ + /bin/sh -c 'apk add clang openjdk8 maven bash git && \ + git config --global --add safe.directory /feedzai-openml-java && \ + git config --global --add safe.directory /feedzai-openml-java/openml-lightgbm/lightgbm-builder/make-lightgbm && \ cd /feedzai-openml-java && \ - mvn clean install -DskipTests && \ + mvn clean install -B -DskipTests && \ cp openml-lightgbm/lightgbm-builder/make-lightgbm/build/amd64/alpine/lib_lightgbm.so /lib/lib_lightgbm.so && \ - mvn surefire:test -pl :openml-lightgbm,:openml-datarobot' - - - uses: codecov/codecov-action@v1 - with: - fail_ci_if_error: true \ No newline at end of file + mvn test -B' \ No newline at end of file