From a3ba8074acc7727ee13142486eca29e8fce83642 Mon Sep 17 00:00:00 2001 From: barry-jin <69359374+barry-jin@users.noreply.github.com> Date: Fri, 19 Mar 2021 14:18:06 -0700 Subject: [PATCH] add spacy download (#1542) --- .github/workflows/unittests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index baac818fcd..624b2fef11 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -48,6 +48,8 @@ jobs: --save-path coverage.xml \ --remote https://github.com/${{ github.repository }} \ --command "python3 -m pip install 'mxnet<2' flaky numpy==1.18.4 \ + && python3 -m spacy download en && python -m spacy download de \ + && python3 -m nltk.downloader all \ && pytest -m 'not (gpu or serial)' --durations=30 --cov=. --cov-config=./.coveragerc --cov-report=xml tests/unittest" \ --wait | tee batch_job.log @@ -64,6 +66,8 @@ jobs: --save-path coverage.xml \ --remote https://github.com/${{ github.event.pull_request.head.repo.full_name }} \ --command "python3 -m pip install 'mxnet<2' flaky numpy==1.18.4 \ + && python -m spacy download en && python -m spacy download de \ + && python -m nltk.downloader all \ && pytest -m 'not (gpu or serial)' --durations=30 --cov=. --cov-config=./.coveragerc --cov-report=xml tests/unittest" \ --wait | tee batch_job.log