Skip to content

MNT: Fix OS matrix values in optional dependency job in CI workflow - #131

Merged
arokem merged 1 commit into
tee-ar-ex:masterfrom
jhlegarreta:mnt/fix-os-matrix-optional-deps-job
Aug 21, 2026
Merged

MNT: Fix OS matrix values in optional dependency job in CI workflow#131
arokem merged 1 commit into
tee-ar-ex:masterfrom
jhlegarreta:mnt/fix-os-matrix-optional-deps-job

Conversation

@jhlegarreta

Copy link
Copy Markdown
Contributor

Fix OS matrix values in optional dependency job in CI workflow: use the appropriate syntax to store the values of the OS platforms in the os.matrix variable. In the current implementation, the variable is empty for the optional dependency job.

Fixes:

Error when evaluating 'runs-on' for job 'test-optional-deps'.
.github/workflows/test.yml (Line: 44, Col: 14): Unexpected value ''

visible for example in:
https://github.com/tee-ar-ex/trx-python/actions/runs/31546085298

@jhlegarreta
jhlegarreta force-pushed the mnt/fix-os-matrix-optional-deps-job branch from 2d0db7e to dcf6338 Compare August 12, 2026 19:49
@jhlegarreta

Copy link
Copy Markdown
Contributor Author

Failures are expected (x-ref #125 (comment)). Now the builds can be seen in the check matrix.

@jhlegarreta
jhlegarreta force-pushed the mnt/fix-os-matrix-optional-deps-job branch from dcf6338 to b4c8ab7 Compare August 13, 2026 06:37
@arokem

arokem commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Sorry, this was supplanted by my #135, but feel free to rebase and we can integrate this change instead, since it's probably a bit more concise.

Fix OS matrix values in optional dependency job in CI workflow: use the
appropriate syntax to store the values of the OS platforms in the
`os.matrix` variable. In the current implementation, the variable is
empty for the optional dependency job.

Fixes:
```
Error when evaluating 'runs-on' for job 'test-optional-deps'.
.github/workflows/test.yml (Line: 44, Col: 14): Unexpected value ''
```

visible for example in:
https://github.com/tee-ar-ex/trx-python/actions/runs/31546085298

Take advantage of the commit to identify better the optional dependency
job name by including the Python version and the OS.
@jhlegarreta
jhlegarreta force-pushed the mnt/fix-os-matrix-optional-deps-job branch from b4c8ab7 to 389b701 Compare August 21, 2026 11:38
@jhlegarreta

Copy link
Copy Markdown
Contributor Author

@arokem Thanks for having a look at this. Rebased.

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.53%. Comparing base (6243be8) to head (389b701).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #131   +/-   ##
=======================================
  Coverage   86.53%   86.53%           
=======================================
  Files          13       13           
  Lines        2896     2896           
=======================================
  Hits         2506     2506           
  Misses        390      390           
Flag Coverage Δ
unittests 86.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@arokem
arokem merged commit ca74e44 into tee-ar-ex:master Aug 21, 2026
19 checks passed
@jhlegarreta
jhlegarreta deleted the mnt/fix-os-matrix-optional-deps-job branch August 21, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants