Skip to content

Commit f1093a7

Browse files
authored
Update Pipfile.lock to suppress dependabot PRs (#615)
* Update Pipfile.lock to suppress dependabot * Fixed type signature * Multi-verse * Do that thing * Increase parallelism maybe * Up the date
1 parent 9cd2fcf commit f1093a7

File tree

3 files changed

+247
-189
lines changed

3 files changed

+247
-189
lines changed

.circleci/config.yml

Lines changed: 48 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,39 @@ commands:
7575
- store_test_results:
7676
path: junit
7777

78+
run_pypy_tests:
79+
description: "Install Tox and run tests."
80+
parameters:
81+
python_version:
82+
description: "Required. Python version as `major.minor`."
83+
type: string
84+
steps:
85+
- checkout
86+
- restore_cache:
87+
key: pypy-deps2-{{ checksum "tox.ini" }}-{{ checksum "Pipfile.lock" }}
88+
- run:
89+
name: Install tox
90+
command: |
91+
pip install -U pip
92+
pip install tox
93+
- run:
94+
name: Run Tests
95+
command: |
96+
CCI_NODE_TESTS=$(circleci tests glob "tests/**/*_test.*py" "tests/**/test_*.*py" | circleci tests split)
97+
printf "Test files:\n"
98+
echo "$CCI_NODE_TESTS"
99+
printf "\n"
100+
tox -e pypy3 -- $CCI_NODE_TESTS
101+
no_output_timeout: 30m
102+
- save_cache:
103+
key: pypy-deps2-{{ checksum "tox.ini" }}-{{ checksum "Pipfile.lock" }}
104+
paths:
105+
- "/root/project/.tox"
106+
- "/usr/local/bin"
107+
- "/usr/local/lib/python<< parameters.python_version >>/site-packages"
108+
- store_test_results:
109+
path: junit
110+
78111
jobs:
79112
test-cpython-36:
80113
docker:
@@ -141,35 +174,21 @@ jobs:
141174
python_version: "3.8"
142175
cache_key_prefix: report-coverage-deps
143176

144-
test-pypy:
177+
test-pypy-36:
145178
docker:
146-
- image: pypy:3.6-7-slim-buster
147-
parallelism: 3
179+
- image: pypy:3.6-slim-buster
180+
parallelism: 4
148181
steps:
149-
- checkout
150-
- restore_cache:
151-
key: pypy-deps2-{{ checksum "tox.ini" }}-{{ checksum "Pipfile.lock" }}
152-
- run:
153-
name: Install tox
154-
command: |
155-
pip install -U pip
156-
pip install tox
157-
- run:
158-
name: Run Tests
159-
command: |
160-
CCI_NODE_TESTS=$(circleci tests glob "tests/**/*_test.*py" "tests/**/test_*.*py" | circleci tests split --split-by=timings)
161-
printf "Test files:\n"
162-
echo "$CCI_NODE_TESTS"
163-
printf "\n"
164-
tox -e pypy3 -- $CCI_NODE_TESTS
165-
- save_cache:
166-
key: pypy-deps2-{{ checksum "tox.ini" }}-{{ checksum "Pipfile.lock" }}
167-
paths:
168-
- "/root/project/.tox"
169-
- "/usr/local/bin"
170-
- "/usr/local/lib/python3.6/site-packages"
171-
- store_test_results:
172-
path: junit
182+
- run_pypy_tests:
183+
python_version: "3.6"
184+
185+
test-pypy-37:
186+
docker:
187+
- image: pypy:3.7-slim-buster
188+
parallelism: 4
189+
steps:
190+
- run_pypy_tests:
191+
python_version: "3.7"
173192

174193
workflows:
175194
version: 2
@@ -179,7 +198,8 @@ workflows:
179198
- test-cpython-37
180199
- test-cpython-38
181200
- test-cpython-39
182-
- test-pypy
201+
- test-pypy-36
202+
- test-pypy-37
183203
- report-coverage:
184204
requires:
185205
- test-cpython-36

0 commit comments

Comments
 (0)