Skip to content

Commit

Permalink
Update GitHub Actions workflow with docker poetry cache issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsinsiddi committed Dec 24, 2024
1 parent ef1b3c9 commit 7dcdee2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Tests
name: Qucikstart Tests
on:
push:
branches:
Expand Down Expand Up @@ -57,9 +57,17 @@ jobs:
sudo apt-get update
sudo apt-get install -y git
- name: Clean Python cache
run: |
sudo rm -rf ~/.cache/pip
sudo rm -rf ~/.cache/poetry
sudo rm -rf .pytest_cache
sudo rm -rf .venv
sudo rm -rf poetry.lock
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.7.1 python3 -
- name: Configure Poetry
run: |
Expand All @@ -76,7 +84,7 @@ jobs:
- name: Install project dependencies
run: |
poetry install --no-interaction --no-root
poetry install --no-interaction
- name: Run tests
run: |
Expand Down

0 comments on commit 7dcdee2

Please sign in to comment.