swiftlang / swiftlang/github-workflows

Support running tests in release mode

Open
#65 1 comment 0 reactions 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

Will need to use -c release -Xswiftc -enable-testing when running the test.

Perhaps this should be only enabled on the latest stable version of Swift.

It'll be decently (up to 3-4 times) slower than a debug build test which is suboptimal.

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 workflow configuration that runs Swift tests and compare its current invocation with the proposed -c release -Xswiftc -enable-testing command. Determine whether release-mode testing should apply only to the latest stable Swift version, then verify that the workflow completes successfully and preserves the expected test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.