File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PyLops Testing (CuPy)
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : self-hosted
8+ steps :
9+ - name : Check out source repository
10+ uses : actions/checkout@v4
11+ - name : Print checked code and check environments
12+ run : |
13+ ls -lah
14+ echo $(pwd)
15+ echo $(which python3)
16+ echo $(which pip3)
17+ - name : Set up Python environment and Install dependencies
18+ run : |
19+ python3 -m venv pylopsvenv
20+ source pylopsvenv/bin/activate
21+ echo $(which python3)
22+ echo $(which pip3)
23+ python3 -m pip install --upgrade pip setuptools
24+ pip install flake8 pytest setuptools-scm
25+ pip install -r requirements-dev-gpu.txt
26+ - name : Install pylops
27+ run : |
28+ source pylopsvenv/bin/activate
29+ python3 -m setuptools_scm
30+ pip install .
31+ - name : Tests with pytest
32+ run : |
33+ export CUPY_PYLOPS=1; export TEST_CUPY_PYLOPS=1;
34+ source pylopsvenv/bin/activate
35+ pytest
You can’t perform that action at this time.
0 commit comments