Skip to content

Commit 4574dce

Browse files
committed
Exclude daily tests from the conda build (#934)
Exclude daily tests from the conda build
1 parent 07aa029 commit 4574dce

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ test:
7575
- tests
7676
commands:
7777
- pip install deepspeed>=0.5.5 timm>=0.5.4 # deepspeed is not available on conda, and timm has a conda version conflict
78-
- make test DURATION=all EXTRA_ARGS="-m 'not notebooks and not gpu and not vision'"
79-
- make test-dist DURATION=all WORLD_SIZE=2 EXTRA_ARGS="-m 'not notebooks and not gpu and not vision'"
78+
- make test DURATION=all EXTRA_ARGS="-m 'not notebooks and not gpu and not vision and not daily'"
79+
- make test-dist DURATION=all WORLD_SIZE=2 EXTRA_ARGS="-m 'not notebooks and not gpu and not vision and not daily'"
8080

8181
about:
8282
home: https://www.mosaicml.com

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ reportUnusedCoroutine = "error"
5050

5151
# Pytest
5252
[tool.pytest.ini_options]
53-
# By default, do not run gpu or notebook tests
54-
addopts = "--strict-markers -m 'not notebooks and not gpu and not vision'"
53+
# By default, do not run gpu, vision, notebook, or daily tests
54+
addopts = "--strict-markers -m 'not notebooks and not gpu and not vision and not daily'"
5555

5656
# by default, tests should be fast.
5757
# for slower tests, use @pytest.mark.timeout with a higher timeout (specified in seconds)
5858
timeout = 2
5959
markers = [
60+
# !!!!!!!!!!!IMPORTANT!!!!!!!!!: when updating the markers, also make sure to update .ci/Jenkinsfile and meta.yaml
6061
# Tests that require a world_size of two should be annotated with `@pytest.mark.world_size(2)`.
6162
# If not specified, the test will be assumed to have a world-size of one, which is
6263
# equivalent to `@pytest.mark.world_size(1)`

0 commit comments

Comments
 (0)