ci: work around flaky python3 tests

Python3 provider tests suddenly became extremely flaky on macos for
unknown reasons. For some reason, installing python with the
setup-python action over using the default python fixes the flakiness.
Use this workaround for the time being to unblock CI while we figure out
the root cause.
This commit is contained in:
dundargoc 2023-11-05 11:47:48 +01:00 committed by zeertzjq
parent 797a9efeff
commit 90890238ac

View File

@ -158,6 +158,13 @@ jobs:
- name: Create log dir
run: mkdir -p "$LOG_DIR"
# FIXME(dundargoc): this workaround is needed for macos as the python3
# provider tests suddenly started to become extremely flaky, and this
# removes the flakiness for some reason.
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: ./.github/scripts/install_deps.sh cpanminus