Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define pytest-forked and pytest-xdist as tests target deps #5292

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
- name: Install pip dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install cython setuptools wheel cmake==3.24 ninja pytest-forked pytest-xdist lit
python3 -m pip install cython setuptools wheel cmake==3.24 ninja lit
- name: Install Triton
env:
CUDA_HOME: "/usr/local/cuda"
Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
python3 -m venv ~/.venv
source ~/.venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install cython setuptools wheel cmake==3.24 ninja pytest-xdist lit pybind11
python3 -m pip install cython setuptools wheel cmake==3.24 ninja lit pybind11
- name: Install Triton
env:
TRITON_BUILD_WITH_O1: "true"
Expand All @@ -581,7 +581,7 @@ jobs:
echo "PATH is '$PATH'"
cd python
ccache --zero-stats
python3 -m pip install -v --no-build-isolation .
python3 -m pip install -v --no-build-isolation .[tests]
- name: CCache Stats
run: ccache --print-stats
- name: Inspect cache directories
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration-tests.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
- name: Install pip dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install cython setuptools wheel cmake==3.24 ninja pytest-forked pytest-xdist lit
python3 -m pip install cython setuptools wheel cmake==3.24 ninja lit

- name: Install Triton
env:
Expand Down Expand Up @@ -481,7 +481,7 @@ jobs:
python3 -m venv ~/.venv
source ~/.venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install cython setuptools wheel cmake==3.24 ninja pytest-xdist lit pybind11
python3 -m pip install cython setuptools wheel cmake==3.24 ninja lit pybind11
- name: Install Triton
env:
TRITON_BUILD_WITH_O1: "true"
Expand All @@ -493,7 +493,7 @@ jobs:
echo "PATH is '$PATH'"
cd python
ccache --zero-stats
python3 -m pip install -v --no-build-isolation .
python3 -m pip install -v --no-build-isolation .[tests]

- *print-ccache-stats
- *inspect-cache-directories-step
Expand Down
2 changes: 2 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,8 @@ def get_git_commit_hash(length=8):
"isort",
"numpy",
"pytest",
"pytest-forked",
"pytest-xdist",
"scipy>=1.7.1",
"llnl-hatchet",
],
Expand Down