Parameterize Python version

This commit is contained in:
sebthom
2022-02-10 04:49:04 +01:00
parent 08e2705b02
commit 8ba85aa25c

View File

@@ -21,6 +21,9 @@ defaults:
run: run:
shell: bash shell: bash
env:
PYTHON_VERSION: "3.10"
jobs: jobs:
########################################################### ###########################################################
@@ -43,7 +46,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: "3.10" python-version: "${{ env.PYTHON_VERSION }}"
- name: Install python dependencies - name: Install python dependencies
run: | run: |
@@ -57,7 +60,7 @@ jobs:
pip install pdm pip install pdm
# https://github.com/pdm-project/pdm/issues/728#issuecomment-1021771200 # https://github.com/pdm-project/pdm/issues/728#issuecomment-1021771200
pip install -t __pypackages__/3.10/lib selenium pip install -t __pypackages__/${{ env.PYTHON_VERSION }}/lib selenium
pdm install -v pdm install -v