Skip to content

Commit

Permalink
CI: add cache by pip
Browse files Browse the repository at this point in the history
  • Loading branch information
harlee-x committed Mar 29, 2024
1 parent f2e5cd5 commit cad825d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'

- name: Install dependencies
run: |
cache: 'pip' # caching pip dependencies
- run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
if [ -f docker/python/requirements.txt ]; then pip install -r docker/python/requirements.txt; fi
Expand Down

0 comments on commit cad825d

Please sign in to comment.