Skip to content

Commit b73eecb

Browse files
author
Diego Ardila
committed
Fix tests and add nightly builds
1 parent b41a673 commit b73eecb

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.circleci/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CircleCI jobs are only enabled to on Pull Requests and commits to master branch.
22
# "Only build pull requests" enabled in Project's Advanced Settings.
33
version: 2.1
4+
45
jobs:
56
build_test:
67
docker:
@@ -83,6 +84,16 @@ jobs:
8384
fi
8485
poetry publish --username=$PYPI_USERNAME --password=$PYPI_PASSWORD
8586
workflows:
87+
nightly_build_test:
88+
triggers:
89+
- schedule:
90+
cron: "0 0 * * *"
91+
filters:
92+
branches:
93+
only:
94+
- master
95+
jobs:
96+
- build_test
8697
build_test_publish:
8798
jobs:
8899
- build_test:

tests/test_prediction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def test_mixed_pred_upload_async(model_run: ModelRun):
293293
"job_id": job.id,
294294
"status": "Completed",
295295
"message": {
296-
"annotation_upload": {
296+
"prediction_upload": {
297297
"epoch": 1,
298298
"total": 2,
299299
"errored": 0,
@@ -331,7 +331,7 @@ def test_mixed_pred_upload_async_with_error(model_run: ModelRun):
331331
"job_id": job.id,
332332
"status": "Completed",
333333
"message": {
334-
"annotation_upload": {
334+
"prediction_upload": {
335335
"epoch": 1,
336336
"total": 2,
337337
"errored": 1,

0 commit comments

Comments
 (0)