diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index da864c1b..65f2c8bc 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -11,15 +11,16 @@ jobs: uses: actions/setup-python@v6 with: python-version: "3.x" + - name: Install dependencies + run: sudo apt-get install -y libsvn-dev - name: Build sdist run: | pip install build python -m build --sdist --outdir dist/ - name: Install sdist and test import run: | - sudo apt-get install -y libsvn-dev pip install dist/*.tar.gz - python -c "from subvertpy import client, ra, repos, subr, wc" + cd /tmp && python -c "from subvertpy import client, ra, repos, subr, wc" - uses: actions/upload-artifact@v4 with: name: subvertpy-sdist