mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #901] [CLOSED] test: add testdata for pre/post actions #1675
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/901
Author: @ZauberNerd
Created: 11/24/2021
Status: ❌ Closed
Base:
master← Head:add-pre-post-testdata📝 Commits (1)
b462fb0test: add testdata for pre/post actions📊 Changes
11 files changed (+85 additions, -0 deletions)
View changed files
➕
pkg/runner/testdata/actions/pre-post-if/action.yml(+18 -0)➕
pkg/runner/testdata/actions/pre-post-if/main.js(+1 -0)➕
pkg/runner/testdata/actions/pre-post-if/post.js(+5 -0)➕
pkg/runner/testdata/actions/pre-post-if/pre.js(+5 -0)➕
pkg/runner/testdata/actions/pre-post/action.yml(+16 -0)➕
pkg/runner/testdata/actions/pre-post/main.js(+1 -0)➕
pkg/runner/testdata/actions/pre-post/post.js(+5 -0)➕
pkg/runner/testdata/actions/pre-post/pre.js(+5 -0)➕
pkg/runner/testdata/remote-action-with-post-step-failing/push.yml(+10 -0)➕
pkg/runner/testdata/remote-action-with-pre-and-post-step/push.yml(+9 -0)➕
pkg/runner/testdata/remote-action-with-pre-step-failing/push.yml(+10 -0)📄 Description
This is in preparation for https://github.com/nektos/act/pull/861
Because local actions cannot have a pre-step, we need to reference the
test actions as remote actions from nektos/act/...@master
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.