Skip to content

Commit 835b247

Browse files
committed
Merge remote-tracking branch 'local-skel/add-code-style-checks' into new-skeleton-ruff2
2 parents 94fd2c8 + d3e7287 commit 835b247

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

etc/ci/azure-posix.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ parameters:
55
test_suites: {}
66
python_architecture: x64
77

8+
variables:
9+
PIP_CACHE_DIR: $(Pipeline.Workspace)/.pip
10+
811
jobs:
912
- job: ${{ parameters.job_name }}
1013

@@ -29,6 +32,14 @@ jobs:
2932
architecture: '${{ parameters.python_architecture }}'
3033
displayName: '${{ pyver }} - Install Python'
3134

35+
- task: Cache@2
36+
inputs:
37+
key: 'pip | "$(Agent.OS)" | requirements.txt'
38+
restoreKeys: |
39+
'pip | "$(Agent.OS)"'
40+
path: $(PIP_CACHE_DIR)
41+
displayName: Cache pip downloaded packages
42+
3243
- script: |
3344
python${{ pyver }} --version
3445
echo "python${{ pyver }}" > PYTHON_EXECUTABLE

0 commit comments

Comments
 (0)