Skip to content

feat: configurable tests path, SHA releases, and psh shebang#3

Merged
hbahadorzadeh merged 7 commits intomainfrom
feat/configurable-tests-path-and-sha-release
Apr 28, 2026
Merged

feat: configurable tests path, SHA releases, and psh shebang#3
hbahadorzadeh merged 7 commits intomainfrom
feat/configurable-tests-path-and-sha-release

Conversation

@hbahadorzadeh
Copy link
Copy Markdown
Contributor

Summary

  • tests_path input: configures the command or script run inside the container during the test step
  • Short git SHA (sha-<7chars>) included in every release tag alongside semver
  • All step scripts use #!/usr/bin/env psh as shebang for automatic JSONL logging
  • setup-psh.sh detects runner architecture dynamically (amd64/arm64)
  • config_file loaded via dedicated step at action start
  • GitHub Marketplace branding icon updated to match action technology
  • Added simple_icon field to pipery-action.toml

Release

This PR cuts v1.0.1.

🤖 Generated with Claude Code

hbahadorzadeh and others added 5 commits April 26, 2026 17:40
- Add tests_path input: path passed to pytest (directory, file, nodeids); defaults to project_path
- Use INPUT_TESTS_PATH in step-test.sh instead of always running pytest on project root
- Record sha-<short> in the JSONL release log for traceability (PyPI has no dist-tag equivalent)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the per-command psh check-and-wrap pattern with `#!/usr/bin/env psh`
as the shebang so psh intercepts and logs every command in the script
automatically. main.sh already invoked scripts directly so no change needed
there.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…set -u

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Set Feather icon per action technology (anchor/activity/package/code/layers/cpu/shield for CI; upload-cloud/trending-up for CD)
- Set marketplace color per action type
- Add simple_icon field to pipery-action.toml (Simple Icons slug)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hbahadorzadeh hbahadorzadeh enabled auto-merge (squash) April 27, 2026 19:17
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the action to version 1.0.1, introducing a configurable tests_path for pytest, dynamic runner architecture detection, and enhanced marketplace branding. A significant architectural change is the transition of all step scripts to use the psh shebang, which is intended to automate command logging. Review feedback identifies a regression in src/step-build.sh where manual success logging was removed; this is inconsistent with other steps like lint and test and may break telemetry requirements defined in the configuration. Additionally, the CHANGELOG.md requires a formatting fix to merge duplicate 'Added' sections for the new version.

Comment thread src/step-build.sh
Comment thread src/step-build.sh
Comment thread src/step-build.sh
Comment thread CHANGELOG.md
hbahadorzadeh and others added 2 commits April 28, 2026 17:58
…s and restore build success logging

- Merge duplicate ### Added sections in CHANGELOG.md for 1.0.1
- Restore {"event":"build","status":"success"} log entry in step-build.sh
  that was accidentally removed during psh shebang refactor; pipery-action.toml
  requires a build event in the log file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hbahadorzadeh hbahadorzadeh merged commit f37c016 into main Apr 28, 2026
@hbahadorzadeh hbahadorzadeh deleted the feat/configurable-tests-path-and-sha-release branch April 28, 2026 16:07
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.

1 participant