diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aacb994..19db15f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,12 +51,14 @@ jobs: env_vars: OS,PYTHON - name: Test with pytest (sdist) run: | - python -m build --sdist --outdir build-test + python -m build --outdir build-test cd build-test tar xf pysubs2-*.tar.gz cd $(find -maxdepth 1 -type d -name 'pysubs2-*') PYTHONPATH=. pytest - name: Test with pytest (wheel) run: | - python -m pip install ../pysubs2-*.whl + cd build-test + python -m pip install pysubs2-*.whl + cd $(find -maxdepth 1 -type d -name 'pysubs2-*') pytest