Add some caching

master
baztian 2020-06-23 23:42:23 +02:00
parent 27ec0b12cc
commit 31e05f53ee
1 changed files with 27 additions and 0 deletions

View File

@ -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