Skip to content

Commit

Permalink
👷 Use packetcoders Poetry with cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalkrupinski committed Jun 29, 2024
1 parent 0b37f6e commit cd70b77
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Test

on:
push:
branches:
Expand All @@ -9,25 +11,13 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install Poetry
uses: abatilo/actions-poetry@v3
uses: packetcoders/action-setup-cache-python-poetry@main
with:
poetry-version: '1.8.3'

- name: Install dependencies
run: |
poetry install
python-version: 3.12
poetry-version: 1.8.3
- name: Run pytest
run: |
poetry run pytest
run: poetry run pytest

0 comments on commit cd70b77

Please sign in to comment.