Skip to content

Commit

Permalink
Merge pull request #12 from fictivekin/test-workflow-poetry-cache
Browse files Browse the repository at this point in the history
Reorganize Action workflow to utilize python cache
  • Loading branch information
jperras authored Jun 28, 2023
2 parents f6adba8 + 2c7f53f commit 6fd7975
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,23 @@ jobs:

- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Lock dependencies for testing
run: poetry lock

- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'

- name: Get latest LocalStack Docker image
run: docker pull localstack/localstack

Expand Down

0 comments on commit 6fd7975

Please sign in to comment.