Skip to content

Commit

Permalink
Ensure we only build the emailer package in the emailer.test tool
Browse files Browse the repository at this point in the history
Ensure that emailer.test toolonly builds the tests from the emailer
package. When using the -o option to go test we must refer to a specific
directory (or package).
  • Loading branch information
owenwaller committed Feb 22, 2024
1 parent 2697eed commit 8a6323e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/emailformgateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: CGO_ENABLED=0 go test -skip=SendEmail github.com/owenwaller/emailformgateway/...

- name: Build emailer test
run: CGO_ENABLED=0 go test -c -o ./emailer.test -run=SendEmail github.com/owenwaller/emailformgateway/...
run: CGO_ENABLED=0 go test -c -o ./emailer.test -run=SendEmail github.com/owenwaller/emailformgateway/emailer

- name: Listing
run: 'ls -al'

0 comments on commit 8a6323e

Please sign in to comment.