Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 650 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (33 loc) · 650 Bytes

Contributing

Testing

export FAUNADB_SECRET="faunadb secret"
export CALENDAR_ID="google calendar ID"
export TEST_EMAIL="test email address"

The "unit" tests are more of integration tests as they will test with Fauna and Google Calendar.

go test ./...

Running the server

Create a test config and adjust as needed.

cp configs/pizza.yaml configs/pizza.test.yaml

Start the server

go run main.go -config configs/pizza.test.yaml

Releasing

  1. Test the release
goreleaser release --snapshot --clean
  1. Tag the new version
go tag v0.1.0
  1. Publish
goreleaser release --clean