mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-02-07 02:07:04 +00:00
test: add e2e tests with local Forgejo instance (#201)
* feat(forge): add new forge for forgejo We only support repositories hosted on Forgejo instances, but not Forgejo Actions or Woodpecker as CI solutions for now. * test(e2e): introduce e2e test framework with local forgejo
This commit is contained in:
parent
afef176e37
commit
fcf7906149
14 changed files with 936 additions and 1 deletions
15
mise.toml
15
mise.toml
|
|
@ -8,3 +8,18 @@ ko = "v0.18.0" # renovate: datasource=github-releases depName=ko-build/ko
|
|||
[settings]
|
||||
# Experimental features are needed for the Go backend
|
||||
experimental = true
|
||||
|
||||
[tasks.lint]
|
||||
run = "golangci-lint run"
|
||||
|
||||
[tasks.test]
|
||||
run = "go test -v -race ./..."
|
||||
|
||||
[tasks.test-e2e]
|
||||
run = "go test -tags e2e_forgejo -v -race ./test/e2e/forgejo"
|
||||
|
||||
[tasks.e2e-forgejo-start]
|
||||
run = "docker compose --project-directory ./test/e2e/forgejo up -d --wait"
|
||||
|
||||
[tasks.e2e-forgejo-stop]
|
||||
run = "docker compose --project-directory ./test/e2e/forgejo down"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue