From 1449840199febf204c81fd0357dbcfe2b80dc549 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Tue, 23 Mar 2021 08:23:07 +0100 Subject: [PATCH] Make Tox & GitHub CI jobs' Python versions match Otherwise results in InterpreterNotFound errors --- .github/workflows/main.yml | 6 +++--- tox.ini | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53841102..7e178b57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,7 +86,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.x" + python-version: 3.7 - name: Set pip cache (Linux) uses: actions/cache@v1 if: startsWith(runner.os, 'Linux') @@ -110,7 +110,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.x" + python-version: 3.7 - name: Set pip cache (Linux) uses: actions/cache@v1 if: startsWith(runner.os, 'Linux') @@ -136,7 +136,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.x" + python-version: 3.7 - name: Check release id: check_release run: | diff --git a/tox.ini b/tox.ini index f917476b..bb45229c 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ commands = pytest -s --cov=pelican pelican [testenv:docs] -basepython = python3.6 +basepython = python3.7 deps = -rrequirements/docs.pip changedir = docs @@ -36,7 +36,7 @@ import-order-style = cryptography max-line-length = 88 [testenv:flake8] -basepython = python3.6 +basepython = python3.7 deps = -rrequirements/style.pip commands =