update handle create email #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: 4.4.6 | |
mongodb-port: 27017 | |
mongodb-username: root | |
mongodb-password: example | |
- name: Start up Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 6.2.4 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Install dependencies | |
run: go mod download | |
- name: Run tests | |
run: go test -v ./... | |
env: | |
ENV: test | |
MONGODB_URL: mongodb://localhost:27017 |