From 68544a333869ba679343cf046185f3121cdfce3b Mon Sep 17 00:00:00 2001 From: Joshua Lochner Date: Fri, 8 Sep 2023 03:46:40 +0200 Subject: [PATCH] Update dependencies for unit tests --- .github/workflows/tests.yml | 2 +- tests/requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/requirements.txt diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a7ebcdb0a..67f047551 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build - - run: pip install -r scripts/requirements.txt + - run: pip install -r tests/requirements.txt # Setup the testing environment - run: npm run generate-tests diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 000000000..b9f05e1c4 --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1,2 @@ +transformers[torch]@git+https://github.com/huggingface/transformers +sacremoses==0.0.53