swiftlang / swiftlang/github-workflows

Allow archiving test artifacts

Open
#144 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
115
Forks
57
Avg merge
1d 8h
Merged PRs (30d)
3

Description

To help diagnose test failures it would be handy to be able to archive test artifacts such as all the *.log files that the Swift extension produces. https://github.com/actions/upload-artifact works well and is MIT. It would be nice to put this in the common test workflow as a step after the test step, and have a variable that allows downstream jobs to configure the glob patterns to archive.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the common test workflow and reviewing its existing test step. Add a configurable artifact glob setting for downstream jobs and use the upload-artifact action after testing; done means matching log files are archived when configured without disrupting existing jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, swift
Domain
ci-cd, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.