From 2b644785f06917810bcacedeaabcf07b1ca76fc4 Mon Sep 17 00:00:00 2001 From: thomwolf Date: Thu, 11 Jul 2019 22:31:50 +0200 Subject: [PATCH] add tests on examples and large circle ci config --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 51b0ffa04e..a9e4ea06f2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,6 +5,7 @@ jobs: docker: - image: circleci/python:3.5 resource_class: large + parallelism: 4 steps: - checkout - run: sudo pip install --progress-bar off . @@ -12,10 +13,12 @@ jobs: - run: sudo pip install spacy ftfy==4.4.3 - run: sudo python -m spacy download en - run: python -m pytest -sv ./pytorch_transformers/tests/ --cov + - run: python -m pytest -sv ./examples/ - run: codecov build_py2: working_directory: ~/pytorch-transformers resource_class: large + parallelism: 4 docker: - image: circleci/python:2.7 steps: @@ -25,6 +28,7 @@ jobs: - run: sudo pip install spacy ftfy==4.4.3 - run: sudo python -m spacy download en - run: python -m pytest -sv ./pytorch_transformers/tests/ --cov + - run: python -m pytest -sv ./examples/ - run: codecov workflows: version: 2