mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
Run third-party stubtest under xvfb-run (#8719)
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt install -y $(python tests/get_apt_packages.py)
|
||||
- name: Run stubtest
|
||||
run: python tests/stubtest_third_party.py --num-shards 4 --shard-index ${{ matrix.shard-index }}
|
||||
run: xvfb-run python tests/stubtest_third_party.py --num-shards 4 --shard-index ${{ matrix.shard-index }}
|
||||
|
||||
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
|
||||
create-issue-on-failure:
|
||||
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -153,7 +153,7 @@ jobs:
|
||||
echo "Installing apt packages: $APT_PACKAGES"
|
||||
sudo apt update && sudo apt install -y $APT_PACKAGES
|
||||
fi
|
||||
python tests/stubtest_third_party.py $STUBS
|
||||
xvfb-run python tests/stubtest_third_party.py $STUBS
|
||||
else
|
||||
echo "Nothing to test"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user