From 3aee1b393b0901232ae9c71c9c18fa9b541e6f55 Mon Sep 17 00:00:00 2001 From: "carter.fendley" Date: Fri, 14 Jun 2024 17:23:49 -0400 Subject: [PATCH] Set python version in same step as tox --- .github/workflows/py3-workflow.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/py3-workflow.yml b/.github/workflows/py3-workflow.yml index 45e9796..4c7698f 100644 --- a/.github/workflows/py3-workflow.yml +++ b/.github/workflows/py3-workflow.yml @@ -44,4 +44,7 @@ jobs: - name: Install tox run: pip install tox - name: Run python tests - run: cd src/python_module/test && tox + run: | + pyenv shell 3.7 3.8 + cd src/python_module/test + tox