Skip to content

Commit

Permalink
Change unittest to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
daklauss committed Dec 4, 2024
1 parent 0d8d2d9 commit fbc1c10
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ jobs:

- name: Install
run: |
pip install -e ./[testing]
pip install ./[testing]
- name: Test
run: |
python -m unittest discover -s tests
pip show ax-platform
pytest tests -m "not slow and not local"
- name: Install pypa/build
run: |
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dependencies = [
testing = [
"certifi", # tries to prevent certificate problems on windows
"pytest",
"coverage",
"pre-commit", # system tests run pre-commit
"ax-platform>=0.3.5",
]
Expand All @@ -54,7 +55,6 @@ docs = [
"sphinx_copybutton>=0.5.1",
"sphinx-sitemap>=2.5.0",
]

ax = [
"ax-platform>=0.3.5",
]
Expand All @@ -76,3 +76,9 @@ line-length = 88
testpaths = [
"tests",
]
pythonpath = [
"tests",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]

0 comments on commit fbc1c10

Please sign in to comment.