Commit 20563f6e authored by Boris Bonev's avatar Boris Bonev
Browse files

making sure python3 is used

parent 0f408ee7
...@@ -18,15 +18,15 @@ jobs: ...@@ -18,15 +18,15 @@ jobs:
python-version: 'pypy3.9' python-version: 'pypy3.9'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python3 -m pip install --upgrade pip
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu python3 -m pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Install package - name: Install package
run: | run: |
python -m pip install -e . python3 -m pip install -e .
pip install setuptools wheel pip3 install setuptools wheel
- name: Build a binary wheel and a source tarball - name: Build a binary wheel and a source tarball
run: | run: |
python setup.py sdist bdist_wheel python3 setup.py sdist bdist_wheel
# - name: Publish package to TestPyPI # - name: Publish package to TestPyPI
# uses: pypa/gh-action-pypi-publish@master # uses: pypa/gh-action-pypi-publish@master
# with: # with:
......
...@@ -15,12 +15,12 @@ jobs: ...@@ -15,12 +15,12 @@ jobs:
python-version: '3.10' python-version: '3.10'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip setuptools wheel python3 -m pip install --upgrade pip setuptools wheel
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu python3 -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
- name: Install package - name: Install package
run: | run: |
python -m pip install -e . python3 -m pip install -e .
- name: Test with pytest - name: Test with pytest
run: | run: |
python -m pip install pytest pytest-cov parameterized python3 -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 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 \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment