Skip to content

Merge pull request #98 from yukimochi/deps/update-all #249

Merge pull request #98 from yukimochi/deps/update-all

Merge pull request #98 from yukimochi/deps/update-all #249

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v3
with:
go-version: 1.22.x
- name: Execute test and upload coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
REDIS_URL: redis://localhost:${{ job.services.redis.ports['6379'] }}
run: |
go version
go test -coverprofile=coverage.txt -covermode=atomic -p 1 ./api ./deliver ./control ./models
bash <(curl -s https://codecov.io/bash)
services:
redis:
image: redis
ports:
- 6379/tcp