Add some caching
parent
27ec0b12cc
commit
31e05f53ee
|
|
@ -29,6 +29,33 @@ jobs:
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: .tox/shared/.m2
|
||||||
|
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ matrix.plattform }}-${{ matrix.python-version }}-maven-
|
||||||
|
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: .tox/shared/.m2
|
||||||
|
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ matrix.plattform }}-${{ matrix.python-version }}-maven-
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.cache/pip
|
||||||
|
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/*requirements.txt', 'tox.ini', 'setup.py') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ matrix.plattform }}-${{ matrix.python-version }}-pip-
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/jython
|
||||||
|
key: ${{ matrix.jython }}-jython
|
||||||
|
if: matrix.jython
|
||||||
|
|
||||||
- name: Consider Jython
|
- name: Consider Jython
|
||||||
run: |
|
run: |
|
||||||
ci/before_install_jython.sh
|
ci/before_install_jython.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue