mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-22 09:18:18 +00:00
13 lines
239 B
Bash
Executable File
13 lines
239 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Build the sdist archive, extract it and run the tests.
|
|
|
|
set -e
|
|
|
|
rm -rf dist
|
|
python3 setup.py sdist
|
|
cd dist
|
|
SDIST_ARCHIVE=$(echo picard-*.tar.gz)
|
|
tar xvf "$SDIST_ARCHIVE"
|
|
cd "${SDIST_ARCHIVE%.tar.gz}"
|
|
pytest --verbose |