From 17129069bd8611621b6600db60549c2b48cb9782 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Tue, 9 Aug 2022 15:49:24 +0800 Subject: [PATCH] Change xmlrunner to unittest-xml-reporting --- .github/workflows/build_and_test.yml | 2 +- dev/infra/Dockerfile | 2 +- dev/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index eba078f23963c..3a9157010e9b0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -242,7 +242,7 @@ jobs: - name: Install Python packages (Python 3.8) if: (contains(matrix.modules, 'sql') && !contains(matrix.modules, 'sql-')) run: | - python3.8 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy xmlrunner + python3.8 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy unittest-xml-reporting python3.8 -m pip list # Run the tests. - name: Run tests diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile index 68f448a1016ab..5a16fb22d9792 100644 --- a/dev/infra/Dockerfile +++ b/dev/infra/Dockerfile @@ -32,7 +32,7 @@ RUN $APT_INSTALL software-properties-common git libxml2-dev pkg-config curl wget RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9 -RUN python3.9 -m pip install numpy pyarrow 'pandas<1.4.0' scipy xmlrunner plotly>=4.8 sklearn 'mlflow>=1.0' coverage matplotlib +RUN python3.9 -m pip install numpy pyarrow 'pandas<1.4.0' scipy unittest-xml-reporting plotly>=4.8 sklearn 'mlflow>=1.0' coverage matplotlib RUN add-apt-repository ppa:pypy/ppa RUN apt update diff --git a/dev/requirements.txt b/dev/requirements.txt index 7244bff08d009..7771b97a7320d 100644 --- a/dev/requirements.txt +++ b/dev/requirements.txt @@ -12,7 +12,7 @@ sklearn matplotlib<3.3.0 # PySpark test dependencies -xmlrunner +unittest-xml-reporting # PySpark test dependencies (optional) coverage