@ -35,9 +35,8 @@ jobs:
MESON_CI_JOBNAME : cygwin-${{ matrix.NAME }}
MESON_CI_JOBNAME : cygwin-${{ matrix.NAME }}
steps:
steps:
# cache should be saved on failure, but the action doesn't support that
- uses : actions/cache/restore@v3
# https://github.com/actions/cache/issues/92
id : restore-cache
- uses : actions/cache@v1
with:
with:
# should use 'pip3 cache dir' to discover this path
# should use 'pip3 cache dir' to discover this path
path : C:\cygwin\home\runneradmin\.cache\pip
path : C:\cygwin\home\runneradmin\.cache\pip
@ -86,6 +85,12 @@ jobs:
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-subtests pytest-xdist coverage codecov
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-subtests pytest-xdist coverage codecov
shell : C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
shell : C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
- uses : actions/cache/save@v3
with:
# should use 'pip3 cache dir' to discover this path
path : C:\cygwin\home\runneradmin\.cache\pip
key : cygwin-pip-${{ github.run_number }}
- name : Run tests
- name : Run tests
run : |
run : |
export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32
export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32