Skip to content

Commit

Permalink
test: speed up with dependency caching (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman committed Jun 21, 2023
1 parent 0653f60 commit d5bf3a7
Show file tree
Hide file tree
Showing 3 changed files with 1,292 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ jobs:

steps:
- uses: actions/checkout@v3.5.3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure poetry
run: |
python -m pip install poetry
poetry config virtualenvs.create false
cache: 'poetry'
- name: Prepare project for development
run: poetry install
- name: Test with pytest
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,5 @@ target/

.pytest_cache/

# poetry lock file - for libraries only
poetry.lock

# Installation tracking file
.install.stamp

0 comments on commit d5bf3a7

Please sign in to comment.