diff --git a/.github/workflows/publish-to-test-pypi.yaml b/.github/workflows/publish-to-test-pypi.yaml index 9af981189a..cc56e99a90 100644 --- a/.github/workflows/publish-to-test-pypi.yaml +++ b/.github/workflows/publish-to-test-pypi.yaml @@ -34,7 +34,7 @@ jobs: CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}* CIBW_ARCHS: ${{ matrix.buildplat[2] }} CIBW_TEST_REQUIRES: "-r ci/test_requirements.txt" - CIBW_TEST_COMMAND: "python -m pytest --pyargs pyuvdata" + CIBW_TEST_COMMAND: "python -m pytest --pyargs pyuvdata -n auto" - uses: actions/upload-artifact@v4 with: @@ -70,13 +70,13 @@ jobs: - name: Upload to test PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ - name: Upload to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.pypi_password }} diff --git a/ci/test_requirements.txt b/ci/test_requirements.txt index 3e1abe4fc9..cec8a5c658 100644 --- a/ci/test_requirements.txt +++ b/ci/test_requirements.txt @@ -3,3 +3,4 @@ packaging pytest>=6.2.5 pytest-cov pytest-cases>=3.8.3 +pytest-xdist