Niko Köser
4721e74697
Merge pull request #392 from svaloumas/docs/add-tests-section-in-contributing-md
2022-09-16 13:14:39 +02:00
Niko Köser
e709c4966b
Merge branch 'main' into docs/add-tests-section-in-contributing-md
2022-09-16 13:01:02 +02:00
Niko Köser
0c3d986cad
Merge pull request #396 from nikoksr/renovate/github.com-aws-aws-sdk-go-v2-service-ses-1.x
2022-09-16 13:00:43 +02:00
renovate[bot]
aa58c18c65
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.17
2022-09-16 10:46:25 +00:00
renovate[bot]
ad3c4072d7
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.18.0 ( #397 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 10:13:23 +00:00
renovate[bot]
65f91fe6d7
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.17.6 ( #394 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 07:14:45 +00:00
Stefanos Valoumas
03f515e3ac
docs(CONTRIBUTING): update tests section
2022-09-16 10:08:30 +03:00
Stefanos Valoumas
5a4e881e9e
docs(CONTRIBUTING): add tests section
2022-09-14 17:24:33 +03:00
Stefanos Valoumas
bda5705e4e
Merge pull request #391 from svaloumas/test/apply-mock-and-naming-conventions-in-tests
...
test(services): apply mock and naming conventions
2022-09-12 17:11:48 +02:00
Niko Köser
b8bf94fc44
style(fmt): make fmt
2022-09-12 16:54:09 +02:00
Niko Köser
3c51987712
refactor(service): make most amazon_sns types unexported
2022-09-12 16:53:16 +02:00
Niko Köser
2e18096aea
Merge branch 'main' into test/apply-mock-and-naming-conventions-in-tests
2022-09-12 16:36:01 +02:00
Stefanos Valoumas
528ac06195
chore: gofumpt changes
2022-09-12 15:16:10 +03:00
Stefanos Valoumas
0c8245d5d7
test: apply test conventions for whatsapp service
2022-09-12 15:05:19 +03:00
Stefanos Valoumas
29809e50f8
test: apply test conventions for wechat service
2022-09-12 15:03:28 +03:00
Stefanos Valoumas
ecaa74abdc
test: apply test conventions for twilio service
2022-09-12 14:57:33 +03:00
Stefanos Valoumas
e9cf4be631
test: apply test conventions for syslog service
2022-09-12 14:55:24 +03:00
Stefanos Valoumas
2035e817a9
test: apply test conventions for slack service
2022-09-12 14:50:22 +03:00
Stefanos Valoumas
74d4576a63
test: apply test conventions for plivo service
2022-09-12 14:49:36 +03:00
Stefanos Valoumas
8af0b6ab8f
test: apply test conventions for msteams service
2022-09-12 14:47:50 +03:00
Stefanos Valoumas
6ed1684c1b
Merge pull request #390 from nikoksr/ci/remove-nightly
...
ci(release): remove nightly action
2022-09-12 13:46:49 +02:00
Stefanos Valoumas
525374307c
test: apply test conventions for lark service
2022-09-12 14:46:36 +03:00
Stefanos Valoumas
6ec42ebdc4
test: apply test conventions for fcm service
2022-09-12 14:46:32 +03:00
Stefanos Valoumas
6ad3b2e4d5
test: apply test conventions for discord service
2022-09-12 14:46:23 +03:00
Stefanos Valoumas
3a57b6d347
test: apply test conventions for amazon sns service
2022-09-12 14:33:25 +03:00
Niko Köser
6ae3b26a3e
ci(release): remove nightly action
...
Buggy as hell and in theory users can utilize the latest commit hash
from main branch to get their hands on the latest of Notify.
2022-09-12 13:10:56 +02:00
Stefanos Valoumas
cbc6fda297
Merge pull request #389 from nikoksr/test/more-services
...
test(services): expand services test coverage
2022-09-12 13:08:26 +02:00
Niko Köser
3a416217b8
chore(deps): remove unused package
2022-09-12 12:55:24 +02:00
Niko Köser
b57c5d6fe0
chore(naming): change test func signature
...
Co-authored-by: Stefanos Valoumas <36260347+svaloumas@users.noreply.github.com>
2022-09-12 12:51:20 +02:00
Niko Köser
928b47646a
refactor(test): simplify comparison
...
Co-authored-by: Stefanos Valoumas <36260347+svaloumas@users.noreply.github.com>
2022-09-12 12:49:07 +02:00
Niko Köser
c5af170380
chore(deps): go mod tidy
2022-09-12 09:00:23 +02:00
Niko Köser
8259b1118f
ci(lint): replace deprecated linters
2022-09-12 08:59:12 +02:00
Niko Köser
6433e36ab3
build(make): move install of vektra/mockery into setup command
2022-09-12 08:56:43 +02:00
Niko Köser
f692de61ba
build(make): add command to generate service mocks
...
Most services are testing by mocking them. To unify the way how and
where these mocks are being generated, I added the mock command. The
command executes go generate against all subdirectories internally. For
this to work every service needs a go:generate comment that defines the
mockery command to be executed. For examples, check
'service/amazonses/amazon_ses.go#14'. All newly added tests should make
use of this pattern.
2022-09-12 08:52:04 +02:00
Niko Köser
a003cd0215
test(send): test sending messages to multiple servives
2022-09-12 08:51:06 +02:00
Niko Köser
50409bb549
refactor(constructor): simplify returning service
2022-09-12 08:50:15 +02:00
Niko Köser
2ee90ea8db
test(service): add mocks and tests for slack
2022-09-12 08:47:01 +02:00
Niko Köser
dfcad9d78d
test(service): add mocks and tests for discord
2022-09-12 08:46:37 +02:00
Niko Köser
4f76f7ed4c
test(service): add mocks and tests for amazonses
2022-09-12 08:45:52 +02:00
Niko Köser
17d7077484
test(service): add mocks and tests of msteams
2022-09-12 08:45:04 +02:00
Niko Köser
fd735dac9c
style(naming): simplify import alias for msteams library
2022-09-12 08:42:38 +02:00
renovate[bot]
cdd9171277
fix(deps): update module github.com/slack-go/slack to v0.11.3 ( #388 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-11 20:35:31 +00:00
Niko Köser
2d65ca31c3
Merge pull request #387 from nikoksr/ci/fix-nightly-release
2022-09-11 12:16:40 +02:00
Niko Köser
1f5c9550ca
ci(nightly): explicitly remove previous nightly release
...
I expected the action that creates the nightly release to also remove
the old release. It has options for keeping old releases etc but
appararently it's none of its business. Thus, we're now explicitly
removing the 'nightly' tag before re-creating it.
2022-09-11 12:07:18 +02:00
Niko Köser
5652317ab2
Merge pull request #386 from nikoksr/ci/nightly-release
2022-09-10 21:48:23 +02:00
Niko Köser
2a854972a1
ci(release): add nightly release
2022-09-10 21:39:36 +02:00
renovate[bot]
9a33784da3
fix(deps): update module github.com/google/go-cmp to v0.5.9 ( #385 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-08 19:22:21 +00:00
renovate[bot]
fb7601eabe
fix(deps): update golang.org/x/sync digest to f12130a ( #384 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 19:46:09 +00:00
renovate[bot]
b25528b3e1
fix(deps): update github.com/rocketchat/rocket.chat.go.sdk digest to 56c5346 ( #383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 20:11:52 +00:00
renovate[bot]
b24b1fa62d
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.17.17 ( #382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 13:26:44 +00:00