From 88ed9ffcd1c022811ebc8818e153fe94e4741671 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 5 Nov 2023 11:47:48 +0100 Subject: [PATCH] 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. --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 096f86219e..1ebb26d5c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -136,6 +136,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' + - if: ${{ matrix.test != 'unittest' }} name: Set up interpreter packages run: |