Skip to content

Commit 8702869

Browse files
authored
Add nightly CI run (#125)
1 parent e29e67f commit 8702869

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

.circleci/config.yml

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ windows-wheel-steps:
8484
paths:
8585
- .tox
8686
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
87-
87+
8888
docs: &docs
8989
docker:
9090
- image: common
@@ -222,25 +222,37 @@ jobs:
222222
- <<: *run-tox-step
223223
- <<: *save-cache-step
224224

225+
define: &all_jobs
226+
- docs
227+
- py38-core
228+
- py39-core
229+
- py310-core
230+
- py311-core
231+
- py312-core
232+
- py38-lint
233+
- py39-lint
234+
- py310-lint
235+
- py311-lint
236+
- py312-lint
237+
- py38-wheel
238+
- py39-wheel
239+
- py310-wheel
240+
- py311-wheel
241+
- py312-wheel
242+
- py311-windows-wheel
243+
- py312-windows-wheel
244+
225245
workflows:
226246
version: 2
227247
test:
228-
jobs:
229-
- docs
230-
- py38-core
231-
- py39-core
232-
- py310-core
233-
- py311-core
234-
- py312-core
235-
- py38-lint
236-
- py39-lint
237-
- py310-lint
238-
- py311-lint
239-
- py312-lint
240-
- py38-wheel
241-
- py39-wheel
242-
- py310-wheel
243-
- py311-wheel
244-
- py312-wheel
245-
- py311-windows-wheel
246-
- py312-windows-wheel
248+
jobs: *all_jobs
249+
nightly:
250+
triggers:
251+
- schedule:
252+
# Weekdays 12:00p UTC
253+
cron: "0 12 * * 1,2,3,4,5"
254+
filters:
255+
branches:
256+
only:
257+
- main
258+
jobs: *all_jobs

0 commit comments

Comments
 (0)