Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Sep 21, 2023
1 parent f8ddc29 commit b577c9a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ jobs:
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'poetry'
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}
restore-keys: ${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand All @@ -39,14 +28,26 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: ${{ runner.os }}-poetry-${{ steps.setup-python.outputs.python-version }}-${{ github.event.pull_request.id || github.event.after }}
key: ${{ runner.os }}-poetry-${{ github.event.pull_request.id || github.event.after }}
- name: Install Poetry
uses: snok/install-poetry@v1
if: steps.cached-poetry.outputs.cache-hit != 'true'
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Setup Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'poetry'
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}
restore-keys: ${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}

#----------------------------------------------
# install dependencies
#----------------------------------------------
Expand Down

0 comments on commit b577c9a

Please sign in to comment.