Commit 911dfb3f authored by Godefroid Chapelle's avatar Godefroid Chapelle

Problem: GH actions does not understand python_version

Solution: use the proper `python-version`
parent 638d92a4
...@@ -10,23 +10,23 @@ jobs: ...@@ -10,23 +10,23 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
python_version: [2.7, 3.5, 3.6, 3.7, 3.8] python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: crazy-max/ghaction-chocolatey@v1 - uses: crazy-max/ghaction-chocolatey@v1
if: matrix.python_version == '2.7' && matrix.os == 'windows-latest' if: matrix.python-version == '2.7' && matrix.os == 'windows-latest'
with: with:
args: install vcpython27 args: install vcpython27
- name: Set up Python ${{ matrix.python_version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python_version: ${{ matrix.python_version }} python-version: ${{ matrix.python-version }}
- name: Cache eggs - name: Cache eggs
uses: actions/cache@v1.2.0 uses: actions/cache@v1.2.0
with: with:
path: eggs path: eggs
key: ${{ matrix.os }}-{{ matrix.python_version }}-eggs key: ${{ matrix.os }}-{{ matrix.python-version }}-eggs
- name: Install dev environment - name: Install dev environment
run: | run: |
python dev.py python dev.py
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment