Trying to use pyenv action step

This commit is contained in:
Mark Schmitt 2021-01-06 22:48:03 +01:00
parent 729d2da764
commit 96da61f4e4

View File

@ -10,13 +10,14 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-20.04] os: [ubuntu-20.04]
python-version: [3.6,3.7,3.8] python: [3.6,3.7,3.8]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install python version - name: Install python version
uses: gabrielfalcao/pyenv-action@v5 uses: gabrielfalcao/pyenv-action@v5
with: with:
default: "${{ matrix.python-version }}" default: "${{ matrix.python }}"
command: pip install -U pip # upgrade pip after installing python
- name: Tests - name: Tests
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}