File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 sudo apt update && sudo apt install -y $PACKAGES
7979 fi
8080
81- xvfb-run python tests/stubtest_third_party.py --specified-stubs-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
81+ PYTHON_EXECUTABLE=" xvfb-run python"
8282 else
8383 if [ "${{ runner.os }}" = "macOS" ] && [ -n "$PACKAGES" ]; then
8484 NONINTERACTIVE=1 brew install $PACKAGES
8888 choco install -y $PACKAGES
8989 fi
9090
91- python tests/stubtest_third_party.py --specified-stubs-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
91+ PYTHON_EXECUTABLE=" python"
9292 fi
9393
94+ $PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-stubs-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
9495 stub-uploader :
9596 name : Run the stub_uploader tests
9697 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 6666 sudo apt update && sudo apt install -y $PACKAGES
6767 fi
6868
69- xvfb-run python tests/stubtest_third_party.py --specified-stubs-only $STUBS
69+ PYTHON_EXECUTABLE=" xvfb-run python"
7070 else
7171 if [ "${{ runner.os }}" = "macOS" ] && [ -n "$PACKAGES" ]; then
7272 echo "Installing Homebrew packages: $PACKAGES"
7878 choco install -y $PACKAGES
7979 fi
8080
81- python tests/stubtest_third_party.py --specified-stubs-only $STUBS
81+ PYTHON_EXECUTABLE=" python"
8282 fi
83+
84+ $PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-stubs-only $STUBS
8385 else
8486 echo "Nothing to test"
8587 fi
You can’t perform that action at this time.
0 commit comments