Merge de8a801a25 into 82c7e631bb
This commit is contained in:
commit
03ba23186a
|
|
@ -310,12 +310,18 @@ steps:
|
|||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install poetry
|
||||
run: pipx install poetry
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'poetry'
|
||||
- name: Install poetry
|
||||
run: python -m pip install poetry
|
||||
- name: Cache Poetry dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pypoetry
|
||||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-poetry-
|
||||
- run: poetry install
|
||||
- run: poetry run pytest
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue