File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PyLops Testing (CuPy)
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ push :
7+ branches :
8+ - main
9+ - dev
10+
11+ jobs :
12+ build :
13+ runs-on : self-hosted
14+ steps :
15+ - name : Check out source repository
16+ uses : actions/checkout@v6
17+ with :
18+ fetch-depth : 0
19+ - name : Install uv with Python 3.11
20+ uses : astral-sh/setup-uv@v6
21+ with :
22+ python-version : 3.11
23+ - name : Install dependencies and pylops
24+ run : |
25+ srun --account=yuxilab -n 1 -N 1 --gres=gpu:L40S:1 bash -c '
26+ uv sync --locked --extra advanced \
27+ --extra stat --extra gpu-cu128 \
28+ --extra deep-cu128 --all-groups
29+ '
30+ echo "done!"
31+ - name : Test with pytest
32+ run : |
33+ srun --account=yuxilab -n 1 -N 1 --gres=gpu:L40S:1 bash -c '
34+ export CUPY_PYLOPS=1
35+ export TEST_CUPY_PYLOPS=1
36+ uv run pytest --color=yes pytests/
37+ '
38+ echo "done!"
You can’t perform that action at this time.
0 commit comments