Skip to content

Commit

Permalink
Try pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Feb 11, 2024
1 parent 7adc226 commit c057661
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tox-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ on:
jobs:
build:
# ubuntu-22 doesnt support Python 2.7
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
name: main
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Install python version
uses: gabrielfalcao/pyenv-action@v18
with:
python-version: ${{ matrix.python-version }}
default: ${{ matrix.python-version }}
command: pip install -U pip tox<4
- name: clean .coverage
shell: bash
run: find . -name .coverage -delete
- name: Run tox with tox-gh-actions
uses: ymyzk/run-tox-gh-actions@main
uses: tox

0 comments on commit c057661

Please sign in to comment.