Adapt to train-test split #67
check-code.yml
on: push
Check code formatting and run unit tests
1m 2s
Annotations
3 errors and 2 warnings
Check code formatting and run unit tests:
tests/test_services.py#L97
test_redis_worker_process_job
TypeError: RedisWorker.process_job() missing 2 required positional arguments: 'x_test' and 'y_test'
|
Check code formatting and run unit tests:
tests/test_services.py#L120
test_redis_worker_run
AssertionError: expected call not found.
Expected: process_job([1, 2, 3], [4, 5, 6], param1=1, param2='value')
Actual: process_job([1, 2, 3], [4, 5, 6], None, None, param1=1, param2='value')
pytest introspection follows:
Args:
assert ([1, 2, 3], [...], None, None) == ([1, 2, 3], [4, 5, 6])
Left contains 2 more items, first extra item: None
Full diff:
- ([1, 2, 3], [4, 5, 6])
+ ([1, 2, 3], [4, 5, 6], None, None)
? ++++++++++++
|
Check code formatting and run unit tests
Process completed with exit code 1.
|
Check code formatting and run unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check code formatting and run unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|