Skip to content

Commit 5468044

Browse files
authored
Restore compatible local sweeps vs cloud sweeps (wandb#1258)
1 parent 678de3e commit 5468044

8 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build/
88
dist/
99
*.pyc
1010
.python-version
11-
wandb_ng.egg-info
11+
wandb.egg-info
1212
docs/themes/
1313
docs/.generated-files.txt
1414
docs/config.toml

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ test-full:
6060
test-short:
6161
tox -e "codemod,black,mypy,flake8,py36"
6262

63+
test-sweeps:
64+
tox -e "py36" -- wandb/sweeps/
65+
6366
format:
6467
tox -e format
6568

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ setenv =
2121
install_command = pip install -f https://download.pytorch.org/whl/torch_stable.html {opts} {packages}
2222
commands =
2323
py{35,36,37,38}: ipython kernel install --user --name=wandb_python
24-
python -m pytest --cov-config=tox.ini --cov=wandb --cov=tests/ --cov-report= --no-cov-on-fail --ignore=wandb/sweeps --ignore=build/ {posargs}
24+
python -m pytest --cov-config=tox.ini --cov=wandb --cov=tests/ --cov-report= --no-cov-on-fail --ignore=wandb/sweeps --ignore=build/ {posargs:tests/ wandb/sweeps/}
2525

2626
[testenv:dev]
2727
usedevelop = true

0 commit comments

Comments
 (0)