Fix cache dependency path again #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Neureka | ||
on: push | ||
jobs: | ||
test-neureka: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
path: pulp-nnx | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
cache-dependency-path: ['pulp-nnx/test/requirements.txt', 'pulp-nnx/test/workflow-requirements/requirements-run-pulp-sdk.txt'] | ||
- name: Restore Cached Gnu Toolchain | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: toolchain/gnu | ||
key: toolchain-gnu | ||
fail-on-cache-miss: true | ||
- name: Restore Cached PULP-SDK | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: pulp-sdk | ||
key: pulp-sdk | ||
fail-on-cache-miss: true | ||
- name: Run test | ||
run: | | ||
export PULP_RISCV_GCC_TOOLCHAIN=$GITHUB_WORKSPACE/toolchain/gnu | ||
source pulp-sdk/configs/siracusa.sh | ||
cd pulp-nnx/test | ||
pytest test.py -T tests -R -A neureka --build-flow=make --wmem=tcdm | ||
pytest test.py -T tests -R -A neureka --build-flow=make --wmem=sram |