Skip to content

Add workflow integration test#6270

Merged
6543 merged 7 commits into
woodpecker-ci:mainfrom
6543-forks:add-workflow-integration-test
Mar 21, 2026
Merged

Add workflow integration test#6270
6543 merged 7 commits into
woodpecker-ci:mainfrom
6543-forks:add-workflow-integration-test

Conversation

@6543

@6543 6543 commented Mar 20, 2026

Copy link
Copy Markdown
Member

taken the integration test from #6166 and extend it ... (disable some tests as we have some indicators not here jet)

go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:33:	Run		71.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:99:	traceStep	84.6%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:128:	execAll		94.9%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:220:	exec		74.4%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/option.go:28:	WithLogger	100.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/option.go:35:	WithTracer	100.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/option.go:42:	WithContext	0.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/option.go:49:	WithDescription	0.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/option.go:56:	WithTaskUUID	100.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/runtime.go:53:	New		100.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/runtime.go:68:	makeLogger	75.0%
go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/shutdown.go:33:	GetShutdownCtx	0.0%
total:									(statements)	78.1%

@6543 6543 added tests related to tests or other things CI check before merge engine change how the pipeline engine works labels Mar 20, 2026
@codecov

codecov Bot commented Mar 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 33.04%. Comparing base (6d60849) to head (b26cd39).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6270      +/-   ##
==========================================
+ Coverage   32.43%   33.04%   +0.61%     
==========================================
  Files         420      420              
  Lines       28320    28326       +6     
==========================================
+ Hits         9185     9361     +176     
+ Misses      18286    18103     -183     
- Partials      849      862      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@6543 6543 requested a review from a team March 20, 2026 15:37
Comment thread pipeline/runtime/helpers_test.go
Comment thread pipeline/runtime/runtime_test.go
Comment thread pipeline/runtime/runtime_test.go
@6543 6543 requested a review from qwerty287 March 21, 2026 10:38
@6543 6543 merged commit 60a4d09 into woodpecker-ci:main Mar 21, 2026
9 checks passed
@6543 6543 deleted the add-workflow-integration-test branch March 21, 2026 10:54
@woodpecker-bot woodpecker-bot mentioned this pull request Mar 21, 2026
1 task
@qwerty287

Copy link
Copy Markdown
Contributor

@6543 it seems the tests are not reliable: https://ci.woodpecker-ci.org/repos/3780/pipeline/32547/38#L470

@6543

6543 commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

yes because our code currently has race conditions etc... and it only works because most steps need some time in real exec environments 😅

will be fixed by #6166

@6543

6543 commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

I'll enhanced the test in #6295 where i can enable the skipped logic in the test etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine change how the pipeline engine works tests related to tests or other things CI check before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants