Skip to content

Commit a9b16d7

Browse files
committed
* test cache
1 parent 50b1e6d commit a9b16d7

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,18 @@ jobs:
1111
strategy:
1212
matrix:
1313
# python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
14-
py-version: ["3.10"]
14+
py-version: ["3.9", "3.10"]
1515
name: Linux - Python ${{ matrix.py-version }}
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
20-
- name: Set up Docker Compose
21-
uses: docker/setup-compose-action@v1
22-
23-
- name: Set up Docker cache dirs
24-
run: |
25-
mkdir -p ~/.cache/pip
19+
- uses: docker/setup-compose-action@v1
2620

2721
- name: Run tests in Docker
28-
run: |
29-
make test ${{ matrix.py-version}}
3022
env:
31-
PIP_CACHE: ~/.cache/pip
3223
REPO_ROOT: ${{ github.workspace }}
24+
run: |
25+
make test ${{ matrix.py-version}}
3326
3427
# test-windows:
3528
# runs-on: windows-latest

bin/run-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TEST_VERBOSE=${TEST_VERBOSE:=""}
77

88

99
declare -xr REPO_ROOT=$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )
10-
declare -xr PIP_CACHE=${REPO_ROOT}/.pip-cache
10+
declare -xr PIP_CACHE=${REPO_ROOT}/.cache/pip
1111

1212
mkdir -p ${PIP_CACHE}
1313
cd "${REPO_ROOT}"

0 commit comments

Comments
 (0)