From 1045241dda05c892a32d0a0f937127c088453915 Mon Sep 17 00:00:00 2001 From: jh-RLI Date: Tue, 29 Sep 2026 17:35:35 +0200 Subject: [PATCH 1/2] Install full test requirements in codecov workflow #316 The codecov workflow installed only pytest, pytest-cov and pyld, so every test importing frictionless (v2.1 example, example_modules) failed with ModuleNotFoundError on each develop push. Install requirements.txt like the tox workflow does and pin Python 3.10 to match it. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/codecov.yml | 6 +++++- CHANGELOG.md | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c24c3dd7..155a1f89 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -22,9 +22,13 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 + with: + python-version: "3.10" - name: Install dependencies - run: pip install pytest pytest-cov pyld + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt - name: Run coverage test run: pytest --cov --cov-report=xml diff --git a/CHANGELOG.md b/CHANGELOG.md index ba2ba034..bbc6021e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update python env instructions to latest version [(#284)](https://github.com/OpenEnergyPlatform/oemetadata/pull/284) - Update datapackage logo link [(#311)](https://github.com/OpenEnergyPlatform/oemetadata/pull/311) - Update `create_example.py` and add `example_modules.json` [(#312)](https://github.com/OpenEnergyPlatform/oemetadata/pull/312) +- Install full test requirements in the codecov workflow [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/) ### Removed From b3327a76ade4b6ba653fb17cd9110e7d3a3abf15 Mon Sep 17 00:00:00 2001 From: jh-RLI Date: Tue, 29 Sep 2026 17:37:42 +0200 Subject: [PATCH 2/2] Update changelog #325 Co-Authored-By: Claude Opus 5.5 (1M context) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbc6021e..407d38c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update python env instructions to latest version [(#284)](https://github.com/OpenEnergyPlatform/oemetadata/pull/284) - Update datapackage logo link [(#311)](https://github.com/OpenEnergyPlatform/oemetadata/pull/311) - Update `create_example.py` and add `example_modules.json` [(#312)](https://github.com/OpenEnergyPlatform/oemetadata/pull/312) -- Install full test requirements in the codecov workflow [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/) +- Install full test requirements in the codecov workflow [(#324)](https://github.com/OpenEnergyPlatform/oemetadata/pull/324) ### Removed