mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-26 18:20:59 +00:00
chore: import the ACT test workflow
- remove go vet and build as they are now redundant - replace ./pkg with ./act - rename the workflow from test to act to distinguish it from the runner workflow cleanup and factorization with the runner workflow is left for later
This commit is contained in:
parent
ebc7758c1f
commit
bcddcef2b9
3 changed files with 80 additions and 2 deletions
|
@ -262,7 +262,7 @@ func TestStepActionLocalPost(t *testing.T) {
|
|||
return strings.HasSuffix(array[1], suffix)
|
||||
})
|
||||
}
|
||||
cm.On("Exec", suffixMatcher("pkg/runner/local/action/post.js"), sal.env, "", "").Return(func(ctx context.Context) error { return tt.err })
|
||||
cm.On("Exec", suffixMatcher("act/runner/local/action/post.js"), sal.env, "", "").Return(func(ctx context.Context) error { return tt.err })
|
||||
|
||||
cm.On("Copy", "/var/run/act", mock.AnythingOfType("[]*container.FileEntry")).Return(func(ctx context.Context) error {
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue