File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 6666 path : |
6767 .venv
6868 key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/test.txt') }}
69+ - name : Set up Python ${{ env.PYTHON_VERSION }}
70+ uses : actions/setup-python@v5
71+ with :
72+ python-version : ${{ env.PYTHON_VERSION }}
73+ - name : Setup virtual environment (no cache hit)
74+ if : steps.virtualenv-cache.outputs.cache-hit != 'true'
75+ run : |
76+ python${{ env.PYTHON_VERSION }} -m venv .venv
77+ source .venv/bin/activate
78+ make install-ci
6979 - name : Run core tests
7080 run : |
7181 source .venv/bin/activate
@@ -106,6 +116,16 @@ jobs:
106116 path : |
107117 .venv
108118 key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/test.txt') }}
119+ - name : Set up Python ${{ env.PYTHON_VERSION }}
120+ uses : actions/setup-python@v5
121+ with :
122+ python-version : ${{ env.PYTHON_VERSION }}
123+ - name : Setup virtual environment (no cache hit)
124+ if : steps.virtualenv-cache.outputs.cache-hit != 'true'
125+ run : |
126+ python${{ env.PYTHON_VERSION }} -m venv .venv
127+ source .venv/bin/activate
128+ make install-ci
109129 - name : Test Dockerfile
110130 run : |
111131 source .venv/bin/activate
You can’t perform that action at this time.
0 commit comments