Skip to content

fix: use bash to execute trf.sh, add sequana-wrappers dependency, and remove poetry.lock#9

Merged
cokelaer merged 3 commits intomainfrom
copilot/fix-ci-failure-in-trf
Apr 4, 2026
Merged

fix: use bash to execute trf.sh, add sequana-wrappers dependency, and remove poetry.lock#9
cokelaer merged 3 commits intomainfrom
copilot/fix-ci-failure-in-trf

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

test_full was failing because trf.sh is generated with set -o pipefail, a bash-specific option, but the test invoked it via sh (dash on Ubuntu), which rejects that option and exits early — leaving summary.html never produced. The same issue affected the Apptainer CI workflow.

Changes

  • test/test_main.py: replace sh trf.sh with bash trf.sh to match the #!/bin/bash shebang and bash-specific options in the generated script.
  • .github/workflows/apptainer.yml: replace sh trf.sh with bash trf.sh for the same reason.
  • pyproject.toml: add sequana-wrappers as a package dependency so it is installed alongside the pipeline.
  • poetry.lock: removed — lock files for libraries/pipelines should not be tracked in version control.

Copy link
Copy Markdown
Contributor

@cokelaer cokelaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sequana-wrappers missing from dependrncies. Poetry lock should be removed

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

Sequana-wrappers missing from dependrncies. Poetry lock should be removed

Done in 199b70e: added sequana-wrappers to the dependencies list in pyproject.toml and removed poetry.lock.

Copilot AI changed the title fix: use bash to execute trf.sh in test_full fix: use bash to execute trf.sh, add sequana-wrappers dependency, and remove poetry.lock Apr 4, 2026
Copilot AI requested a review from cokelaer April 4, 2026 16:24
Copy link
Copy Markdown
Contributor

@cokelaer cokelaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apptainers are failing. Change sh call to bash

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

Apptainers are failing. Change sh call to bash

Fixed in d9b2393: changed sh trf.sh to bash trf.sh in .github/workflows/apptainer.yml.

Copilot AI requested a review from cokelaer April 4, 2026 16:38
@cokelaer cokelaer merged commit fbdced9 into main Apr 4, 2026
@cokelaer cokelaer deleted the copilot/fix-ci-failure-in-trf branch April 4, 2026 18:37
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