|
|
|
@ -22,7 +22,7 @@ jobs:
|
|
|
|
|
key: model-v1-${{ hashFiles('setup.cfg', 'src/petals/cli/convert_model.py') }}
|
|
|
|
|
- name: Set up Python
|
|
|
|
|
if: steps.cache-model.outputs.cache-hit != 'true'
|
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
|
uses: actions/setup-python@v3
|
|
|
|
|
with:
|
|
|
|
|
python-version: 3.9
|
|
|
|
|
- name: Cache dependencies
|
|
|
|
@ -59,14 +59,14 @@ jobs:
|
|
|
|
|
needs: convert-model
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
python-version: [ 3.7, 3.8, 3.9 ]
|
|
|
|
|
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
|
|
|
|
|
fail-fast: false
|
|
|
|
|
timeout-minutes: 15
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
- name: Set up Python
|
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
|
uses: actions/setup-python@v3
|
|
|
|
|
with:
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
- name: Cache dependencies
|
|
|
|
|