Add some caching
This commit is contained in:
@@ -29,6 +29,33 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
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
|
||||
run: |
|
||||
ci/before_install_jython.sh
|
||||
|
||||
Reference in New Issue
Block a user