refactor(csv-import): Simplify test execution and enhance custom equivalence handling
- Updated the test execution command in the CI workflow to run all tests excluding slow ones, improving efficiency. - Enhanced the AdminCsvTemplateEditorPage to support custom equivalence for unit conversions, allowing for more flexible data handling. - Added markers in pytest configuration for categorizing tests, facilitating better test management.
This commit is contained in:
1 parent
8ee9fb84ba
commit
8b67f7ab55
3 files changed
+228
-79
No files matched your search
@@ -34,13 +34,7 @@ jobs:
|
||||
docker compose -f "$COMPOSE_FILE" exec -T backend sh -lc "
|
||||
pip install -r /app/requirements-dev.txt &&
|
||||
cd /app &&
|
||||
python -m pytest \
|
||||
tests/test_csv_parser_core.py \
|
||||
tests/test_csv_import_executor.py \
|
||||
tests/test_mapping_suggest.py \
|
||||
tests/test_placeholder_metadata.py \
|
||||
tests/test_placeholder_metadata_v2.py \
|
||||
-q --tb=short
|
||||
python -m pytest tests -m 'not slow' -q --tb=short
|
||||
"
|
||||
|
||||
lint-backend:
|
||||
|
||||
Reference in new issue
Block a user