Skip to content

Commit

Permalink
almost there
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton authored and mkolopanis committed Jun 7, 2024
1 parent a2af5aa commit 8ec0d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-test-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions ci/test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ packaging
pytest>=6.2.5
pytest-cov
pytest-cases>=3.8.3
pytest-xdist

0 comments on commit 8ec0d57

Please sign in to comment.