actions / actions/toolkit

How to run a task which expect to fail?

Open
#1,288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I want to run compilation commands with various arguments. Some of them should be successful, and others should be failed. I wonder how to deal with the "should fail" tasks.

If no way to do it, I hope this feature could be added.

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

The issue names only compilation commands, task arguments, and tasks expected to fail; it does not identify a package, file, or test. Start by locating the toolkit API that runs tasks or commands and its existing tests, then define how expected failures are represented and verified. Done means successful and intentionally failing compilations can both be exercised with unambiguous results.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.