Skip to content

Commit

Permalink
Update pypi-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Jan 4, 2024
1 parent ad1b93f commit c4fc775
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
python-version: '3.11'

- name: Build source distribution
run: |
pip install build==1.0.3
python -m build --sdist --outdir dist/
run: python setup.py sdist

- name: Test source distribution
if: github.event_name == 'release' || inputs.test_sdist
Expand All @@ -47,6 +45,5 @@ jobs:
source "${VENV}/bin/activate"
pip install dist/*.tar.gz
pip install pytest-xdist
pytest -n auto -rax --pyargs meltingpot
deactivate
rm -rf "${VENV}"

0 comments on commit c4fc775

Please sign in to comment.