Skip to content

Commit

Permalink
Add some caching
Browse files Browse the repository at this point in the history
  • Loading branch information
baztian committed Jun 23, 2020
1 parent 27ec0b1 commit 31e05f5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -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
Expand Down

0 comments on commit 31e05f5

Please sign in to comment.