mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:52:26 -05:00
[chore] refactor test/cliparsing.sh into a go test below internal/config (#1036)
Also adds AddGlobalFlags and AddServerFlags as methods on ConfigState, very useful for testing.
This commit is contained in:
parent
52109776f6
commit
1f256e288b
9 changed files with 222 additions and 126 deletions
|
|
@ -37,7 +37,6 @@ steps:
|
|||
commands:
|
||||
- apk update --no-cache && apk add git
|
||||
- CGO_ENABLED=0 GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test ./...
|
||||
- CGO_ENABLED=0 ./test/cliparsing.sh
|
||||
- CGO_ENABLED=0 ./test/envparsing.sh
|
||||
when:
|
||||
event:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue