Skip to content

Commit

Permalink
Merge pull request #1260 from qstokkink/add_pip_cache
Browse files Browse the repository at this point in the history
Cache pip dependencies in validate runs
  • Loading branch information
qstokkink authored Jan 17, 2024
2 parents 2b581f0 + 699279f commit 7487db4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pr-comment-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,26 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
cache: 'pip'
- uses: actions/cache/restore@v3
if: matrix.os == 'windows-latest'
id: restore_cache
with:
path: libsodium.dll
key: cache_libsodium_dll
- run: python -m pip install -r requirements.txt
- run: python run_all_tests.py -a
env:
TEST_IPV8_WITH_IPV6: 0
- run: python run_all_tests.py -a
env:
TEST_IPV8_WITH_IPV6: 1
- uses: actions/cache/save@v3
if: matrix.os == 'windows-latest'
id: save_cache
with:
path: libsodium.dll
key: cache_libsodium_dll

set_pending_status:
if: ${{github.event.issue.pull_request && startsWith(github.event.comment.body, 'validate') }}
Expand Down

0 comments on commit 7487db4

Please sign in to comment.