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 : Cupy Testing
2+ on :
3+ workflow_dispatch :
4+
5+ jobs :
6+ Cupy_Testing :
7+ runs-on : self-hosted
8+ steps :
9+ - name : Checkout code
10+ uses : actions/checkout@v3
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 : create new virtual 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 : 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