diff --git a/.github/workflows/deploy_pypi.yml b/.github/workflows/deploy_pypi.yml index 1c1af2f..f8f3c33 100644 --- a/.github/workflows/deploy_pypi.yml +++ b/.github/workflows/deploy_pypi.yml @@ -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 + python3 -m pip install --upgrade pip + python3 -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 + python3 -m pip install -e . + pip3 install setuptools wheel - name: Build a binary wheel and a source tarball run: | - python setup.py sdist bdist_wheel + python3 setup.py sdist bdist_wheel # - name: Publish package to TestPyPI # uses: pypa/gh-action-pypi-publish@master # with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4ab678b..73805e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 + python3 -m pip install --upgrade pip setuptools wheel + python3 -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu - name: Install package run: | - python -m pip install -e . + python3 -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