Test OpenSTEF builds across operating systems and Python versions

Aperta
#1,202 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
67/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd, testing

Direzione di ricerca

Read the current quality-check workflow and the package metadata that declares Python >=3.12, then confirm which Python versions the project officially supports. Use the linked example workflow as a reference and run the existing test suite in the requested Windows, macOS, and Ubuntu matrix. Done means pull requests build the packages and run the tests for every supported Python version on all three operating systems, with failures reported by CI.

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

Descrizione

chore github-actions

Type of work

  • Feature
  • Chore / refactor
  • Documentation
  • Performance
  • Epic (spans multiple issues)

Summary

Add CI coverage that builds OpenSTEF and runs its existing tests on Windows, macOS, and Ubuntu. Include every Python version OpenSTEF officially supports so platform- and interpreter-specific issues are caught before merge.

Background

The current quality-check workflow runs on Ubuntu only, leaving Windows and macOS compatibility unverified. OpenSTEF’s package metadata declares Python >=3.12,<4.0, but the CI matrix should reflect the project’s officially supported Python versions.

Example workflow: PowerGridModel-DS build, test, and Sonar workflow

Priority

Without this coverage, platform-specific issues may only be discovered by users. There is no deadline.

Affected package(s)

  • openstef-core
  • openstef-models
  • openstef-beam
  • openstef-foundation-models
  • openstef-meta
  • examples / deployment
  • docs
  • not sure

Definition of done

Acceptance criteria — what does "done" look like?

  • CI builds OpenSTEF and runs the existing test suite on Windows, macOS, and Ubuntu for pull requests.
  • The OS matrix covers every officially supported Python version, including the declared minimum of Python 3.12.
  • Failures in any OS/Python combination are reported as CI failures.

Documentation — does this need user guide, API reference, or example updates?

  • No documentation changes needed
  • Documentation will be updated as part of this work

Tests — how will this be verified?

  • No new tests needed
  • Unit/integration tests will be added
Lingua principale
Python
Stelle
169
Fork
59
Merge medio
4g 15h
PR unite (30g)
8

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 OpenSTEF/openstef

Tutte le issue di OpenSTEF/openstef

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.