From c4fc775454d666b75f4faad160f9a2ee9e0b4838 Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Thu, 4 Jan 2024 19:41:35 +0000 Subject: [PATCH] Update pypi-publish.yml --- .github/workflows/pypi-publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index e7725a9c..74a00126 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -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 @@ -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}"