Skip to content

[Feature] Upload test results as artifacts #43

Description

@scarowar

Summary

Upload test results as downloadable workflow artifacts.

Problem to solve

Test reports disappear after the workflow completes. Users may want to download reports for archival, auditing, or sharing.

Proposed solution

Add artifact upload capability:

  1. Add upload-artifact input (default: false)
  2. Upload markdown report as artifact
  3. Upload JUnit XML (if enabled)
  4. Use actions/upload-artifact@v4

Implementation in action.yml:

- name: 📤 Upload Artifacts
  if: inputs.upload-artifact == 'true'
  uses: actions/upload-artifact@v4
  with:
    name: insomnia-run-report
    path: |
      ${{ steps.run-cli.outputs.markdown-file }}
      ${{ steps.run-cli.outputs.junit-file }}

Alternatives considered

No response

Additional context

Additional context

Files to modify:

  • action.yml
  • src/insomnia_run/main.py (write files to disk)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwontfixThis will not be worked on

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions