File tree 3 files changed +22
-1
lines changed
3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -113,3 +113,8 @@ jobs:
113
113
- name : Test running installed package
114
114
if : runner.os != 'Windows'
115
115
run : picard --long-version
116
+ - name : Verify sdist package
117
+ if : runner.os != 'Windows'
118
+ run : |
119
+ pip install pytest
120
+ scripts/package/run-sdist-test.sh
Original file line number Diff line number Diff line change 1
1
graft po
2
- prune test
3
2
4
3
recursive-include scripts *.in
5
4
recursive-exclude scripts picard
@@ -9,4 +8,8 @@ include *.in
9
8
include *.md
10
9
include *.txt
11
10
11
+ recursive-include test *.py
12
+ recursive-include test/data *
13
+
12
14
exclude org.musicbrainz.Picard.appdata.xml
15
+ exclude win-version-info.txt
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Build the sdist archive, extract it and run the tests.
4
+
5
+ set -e
6
+
7
+ rm -rf dist
8
+ python3 setup.py sdist
9
+ cd dist
10
+ SDIST_ARCHIVE=$( echo picard-* .tar.gz)
11
+ tar xvf " $SDIST_ARCHIVE "
12
+ cd " ${SDIST_ARCHIVE% .tar.gz} "
13
+ pytest --verbose
You can’t perform that action at this time.
0 commit comments