Improve Python workflow

Aperta
#576 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd

Direzione di ricerca

Read .github/workflows/release-python.yml, especially the referenced lines 27, 32, and 64–70. Check how the workflow currently builds and publishes releases, then determine whether the patch is still needed and how non-tag runs should handle built packages. Done means the workflow behavior is settled and verified for both tag and non-tag runs; the issue leaves these decisions open.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

benchmarks
  1. Is
    https://github.com/NNPDF/eko/blob/195aec0cc1700ce035bfdfd24f9e7d007c5e1363/.github/workflows/release-python.yml#L64-L70 still needed with
    https://github.com/NNPDF/eko/blob/195aec0cc1700ce035bfdfd24f9e7d007c5e1363/.github/workflows/release-python.yml#L32
    in place? With that fix we don't need to patch and we can use the default behavior again, no?

  2. should we allow also the Python release workflow to be run on any commit - with the condition that we only push to PyPI on tag and else upload the artifacts to the workflow? This is essentially challenging this line https://github.com/NNPDF/eko/blob/195aec0cc1700ce035bfdfd24f9e7d007c5e1363/.github/workflows/release-python.yml#L27 which should move instead below and possibly a negated branch which uploads the (already built) package as artifact

@AkshatRai07 might be able to answer these questions 🙃

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.