mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
Replace METADATA stubtest key with stubtest_apt_packages (#6704)
This commit is contained in:
2
.github/workflows/stubtest.yml
vendored
2
.github/workflows/stubtest.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user