Skip to content

Commit cad420d

Browse files
authored
Remove pytest options from pyproject.toml and move to the invocation (#68)
* Remove pytest options from pyproject.toml and move to the invocation * Update e2e test invocation for speed and better logs First run all test in parallel with retries for speed. Then run failed tests sequentially to get better logs * Revert to the simplest pytest invocation
1 parent e3ee815 commit cad420d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/tests-e2e.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ jobs:
6060
NEPTUNE_E2E_FORCE_DATA_GENERATION: ${{ inputs.force_data_generation || 'false' }}
6161
TEST_MARKERS: ${{ matrix.test_markers }}
6262
run: |
63-
pytest --junitxml="test-results/test-e2e.xml" ${TEST_MARKERS:+-m "$TEST_MARKERS"} tests/e2e
64-
63+
pytest --retries=3 --retry-delay=2 --junitxml="test-results/test-e2e.xml" ${TEST_MARKERS:+-m "$TEST_MARKERS"} tests/e2e
6564
- name: Report
6665
uses: mikepenz/action-junit-report@v5
6766
if: always()

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ warn_unused_ignores = "True"
9898
ignore_missing_imports = "True"
9999

100100
[tool.pytest.ini_options]
101-
retries = 3
102-
retry_delay = 2
103-
addopts = "--dist=loadfile"
104101
markers = [
105102
"files: mark test as downloading files using the neptune storage api",
106103
]

0 commit comments

Comments
 (0)