Replace METADATA stubtest key with stubtest_apt_packages (#6704)

This commit is contained in:
Sebastian Rittau
2021-12-27 17:28:59 +01:00
committed by GitHub
parent 975b3e901b
commit 14e5d16c3a
9 changed files with 38 additions and 15 deletions

View File

@@ -53,4 +53,4 @@ jobs:
- name: Install dependencies
run: pip install $(grep tomli== requirements-tests.txt)
- name: Run stubtest
run: python tests/stubtest_third_party.py --num-shards 4 --shard-index ${{ matrix.shard-index }}
run: python tests/stubtest_third_party.py --num-shards 4 --shard-index ${{ matrix.shard-index }} --sudo-install-apt

View File

@@ -131,7 +131,7 @@ jobs:
STUBS=$(git diff --name-only origin/${{ github.base_ref }} HEAD | egrep ^stubs/ | cut -d "/" -f 2 | sort -u | (while read stub; do [ -d stubs/$stub ] && echo $stub || true; done))
if test -n "$STUBS"; then
echo "Testing $STUBS..."
python tests/stubtest_third_party.py $STUBS
python tests/stubtest_third_party.py --sudo-install-apt $STUBS
else
echo "Nothing to test"
fi