Skip to content

Commit dab4286

Browse files
bsamuel-uiAubtin
authored andcommitted
Check what versions are on the path
1 parent 21b7bd1 commit dab4286

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,30 @@ jobs:
2323
- name: Set up Python ${{ matrix.python-version }}
2424
uses: actions/setup-python@v1
2525
with:
26-
version: ${{ matrix.python-version }}
26+
python-version: ${{ matrix.python-version }}
27+
2728
- name: Set up Node ${{ matrix.node-version }}
2829
uses: actions/setup-node@v1
2930
with:
30-
version: ${{ matrix.node-version }}
31-
- name: Install pipenv, poetry
32-
run: python${{ matrix.python-version}} -m pip install pipenv poetry setuptools
31+
node-version: ${{ matrix.node-version }}
32+
33+
- name: Check python is available
34+
run: |
35+
echo "PYTHON"
36+
python --version
37+
echo "PYTHONX.X"
38+
python${{ matrix.python-version}} --version
39+
echo "PIP"
40+
pip --version
41+
echo "PIPX.X"
42+
pip${{matrix.python-version}} --version
43+
echo "ok"
44+
45+
- name: Install setuptools
46+
run: python${{ matrix.python-version }} -m pip install setuptools wheel
47+
48+
- name: Install pipenv / poetry
49+
run: python${{ matrix.python-version }} -m pip install pipenv poetry
3350

3451
- name: Install serverless
3552
run: npm install -g serverless

0 commit comments

Comments
 (0)