Skip to content

Commit 96eaf26

Browse files
committed
Upgrading Python to 3.10.1
1 parent 275f9ab commit 96eaf26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: Build
99
env:
1010
MAJOR: 0
1111
MINOR: 0
12-
PYTHON_VERSION: 3.9.6
12+
PYTHON_VERSION: 3.10.1
1313

1414
#
1515
# Establish when the workflow is run
@@ -62,13 +62,14 @@ jobs:
6262
- name: Establish a cache for dependencies
6363
uses: actions/cache@v2
6464
with:
65-
path: ~/.local
65+
path: ${HOME}/.local
6666
key: ${{ runner.os }}
6767

6868
- name: Build
6969
run: |
70+
export PYTHONUSERBASE=${HOME}/.local
7071
pip install --user -r requirements.txt
71-
pylint ${GITHUB_WORKSPACE}/mrmat_python_api_flask
72+
${PYTHONUSERBASE}/bin/pylint ${GITHUB_WORKSPACE}/mrmat_python_api_flask
7273
PYTHONPATH=${GITHUB_WORKSPACE} python -m pytest --cov=mrmat_python_api_flask
7374
PYTHONPATH=${GITHUB_WORKSPACE} python -m build --wheel -n
7475

0 commit comments

Comments
 (0)