aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-05 11:47:48 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-06 23:06:35 +0100
commit88ed9ffcd1c022811ebc8818e153fe94e4741671 (patch)
tree7e79cc10f8c68748a5b0d0eabd5e184b8d5e3a87
parent56627ca2423e9d6084f87f5bc4639f06d10ecf91 (diff)
downloadrneovim-88ed9ffcd1c022811ebc8818e153fe94e4741671.tar.gz
rneovim-88ed9ffcd1c022811ebc8818e153fe94e4741671.tar.bz2
rneovim-88ed9ffcd1c022811ebc8818e153fe94e4741671.zip
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.
-rw-r--r--.github/workflows/test.yml7
1 files changed, 7 insertions, 0 deletions
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: |