Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
20563f6e
Commit
20563f6e
authored
Aug 19, 2024
by
Boris Bonev
Browse files
making sure python3 is used
parent
0f408ee7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
.github/workflows/deploy_pypi.yml
.github/workflows/deploy_pypi.yml
+5
-5
.github/workflows/tests.yml
.github/workflows/tests.yml
+5
-5
No files found.
.github/workflows/deploy_pypi.yml
View file @
20563f6e
...
...
@@ -18,15 +18,15 @@ jobs:
python-version
:
'
pypy3.9'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python
3
-m pip install --upgrade pip
python
3
-m pip install torch --index-url https://download.pytorch.org/whl/cpu
-
name
:
Install package
run
:
|
python -m pip install -e .
pip install setuptools wheel
python
3
-m pip install -e .
pip
3
install setuptools wheel
-
name
:
Build a binary wheel and a source tarball
run
:
|
python setup.py sdist bdist_wheel
python
3
setup.py sdist bdist_wheel
# - name: Publish package to TestPyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
...
...
.github/workflows/tests.yml
View file @
20563f6e
...
...
@@ -15,12 +15,12 @@ jobs:
python-version
:
'
3.10'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip setuptools wheel
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
python
3
-m pip install --upgrade pip setuptools wheel
python
3
-m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
-
name
:
Install package
run
:
|
python -m pip install -e .
python
3
-m pip install -e .
-
name
:
Test with pytest
run
:
|
python -m pip install pytest pytest-cov parameterized
python -m pytest --cov-report term --cov-config=.coveragerc --cov=torch_harmonics ./tests/test_sht.py ./tests/test_convolution.py
\ No newline at end of file
python3 -m pip install pytest pytest-cov parameterized
python3 -m pytest --cov-report term --cov-config=.coveragerc --cov=torch_harmonics ./tests/test_sht.py ./tests/test_convolution.py
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment