Skip to content

Commit a543725

Browse files
BordaCopilotdeependujha
authored
tests: testing all with ignore pattern (Lightning-AI#678) (Lightning-AI#679)
* tests: testing all with ignore pattern * address review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Deependu <deependujha21@gmail.com>
1 parent 2ba36e7 commit a543725

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci-testing.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,17 @@ jobs:
4747
4848
- name: Run fast tests in parallel
4949
run: |
50-
pytest \
51-
tests/streaming tests/utilities \
52-
tests/test_cli.py tests/test_debugger.py \
53-
-n 2 --cov=litdata --cov-append --cov-report= --durations=120
50+
pytest tests \
51+
--ignore=tests/processing \
52+
--ignore=tests/raw \
53+
-n 2 --cov=litdata --durations=120
5454
5555
- name: Run processing tests sequentially
5656
run: |
57-
pytest tests/processing tests/raw --cov=litdata --cov-append --cov-report= --durations=90
57+
# note that the listed test should match ignored in the previous step
58+
pytest \
59+
tests/processing tests/raw \
60+
--cov=litdata --cov-append --durations=90
5861
5962
- name: Statistics
6063
continue-on-error: true

0 commit comments

Comments
 (0)