From 6fe8fb2c77e10d819a1fb2f9bcba36f6d40352eb Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sat, 1 Jun 2024 11:28:10 +0400 Subject: [PATCH] Testing sdist also in testpypi (#110) --- .github/workflows/testpypi.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testpypi.yaml b/.github/workflows/testpypi.yaml index 177d4189..47a85a69 100644 --- a/.github/workflows/testpypi.yaml +++ b/.github/workflows/testpypi.yaml @@ -145,8 +145,13 @@ jobs: manylinux: auto args: --out dist + - name: Test sdist + run: | + pip install --force-reinstall --verbose dist/*.tar.gz + python -c 'import clarabel' + - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist @@ -160,10 +165,10 @@ jobs: - windows - linux steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: sdist - uses: actions/setup-python@v5