Skip to content

Commit

Permalink
CI: switch to pyenv for better python2 support
Browse files Browse the repository at this point in the history
since we need to run older versions of scylla with cqlsh that only
support python2, we need a way to still have python2 available
  • Loading branch information
fruch committed Oct 12, 2023
1 parent 7a10332 commit 5c41e31
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
event_loop_manager: "libev"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: setup pyenv ${{ matrix.python-version }}
uses: "gabrielfalcao/pyenv-action@v11"
with:
python-version: ${{ matrix.python-version }}
default: 2.7
versions: ${{ matrix.python-version }}
- name: Test with pytest
run: |
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
Expand Down

0 comments on commit 5c41e31

Please sign in to comment.