Skip to content

Commit

Permalink
Temporarily removed caching
Browse files Browse the repository at this point in the history
  • Loading branch information
androidWG committed Dec 15, 2023
1 parent f63d1d0 commit 5084df9
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

runs-on: ${{ matrix.os }}

# TODO: Add cache support
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
Expand All @@ -27,14 +28,10 @@ jobs:
run: |
python -m pip install packaging pipenv psutil
python setup.py setup
- name: Get pip cache dir
id: pipenv-cache
run: |
echo "dir=$(pipenv --venv)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.pipenv-cache.outputs.dir }}
key: ${{ runner.os }}-pipenv-${{ hashFiles('Pipfile.lock') }}
# - name: Get pip cache dir
# id: pipenv-cache
# run: |
# echo "dir=$(pipenv --venv)" >> $GITHUB_OUTPUT
- name: Run tests
run: python setup.py test
build:
Expand All @@ -54,14 +51,10 @@ jobs:
run: |
python -m pip install packaging pipenv psutil
python setup.py setup
- name: Get pip cache dir
id: pipenv-cache
run: |
echo "dir=$(pipenv --venv)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.pipenv-cache.outputs.dir }}
key: ${{ runner.os }}-pipenv-${{ hashFiles('Pipfile.lock') }}
# - name: Get pip cache dir
# id: pipenv-cache
# run: |
# echo "dir=$(pipenv --venv)" >> $GITHUB_OUTPUT
- name: Build
run: python setup.py build
- name: Upload files
Expand Down

0 comments on commit 5084df9

Please sign in to comment.