Caching data in workflows is not working

Aperta
#452 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@evagroenendijk ci sta già lavorando.

Dal 13/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

benchmarks

Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.

from https://github.com/NNPDF/eko/actions/runs/13971535800/job/39114365372#step:25:2

this is because this https://github.com/NNPDF/eko/blob/c69a7b964a68342cfac728627be1a2c1084287ed/.github/workflows/python-poetry-tests-with-data.yml#L82
is just wrong

This holds in all places where the cache is used:

  • Python unit tests
  • PyPI
  • Rust unit tests

The solution will imply a series of steps, which include at least:

  • make the path a parameter in the Python workflow files - for Rust it is hard coded
  • do something against linking the file for Rust from Python. Currently the link is created when downloading, this will break when we only download once. Solution might be to permanently link the directory
Lingua principale
Python
Stelle
13
Fork
9
Merge medio
6g 16h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NNPDF/eko

Tutte le issue di NNPDF/eko

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.