Skip to content

feat(auth): add auth service (register & authenticate) with tests; re… #2

feat(auth): add auth service (register & authenticate) with tests; re…

feat(auth): add auth service (register & authenticate) with tests; re… #2

Workflow file for this run

name: Backend CI
on:
push:
branches: [ main, '001-*' ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install dependencies
run: |
cd backend
go mod download
- name: Run unit tests
run: |
cd backend
go test ./... -v -coverprofile=coverage.out
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: backend/coverage.out