commit 88ed9ffcd1c022811ebc8818e153fe94e4741671
parent 56627ca2423e9d6084f87f5bc4639f06d10ecf91
Author: dundargoc <gocdundar@gmail.com>
Date: Sun, 5 Nov 2023 11:47:48 +0100
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.
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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: |