Skip to content

fix: login response unification (#47) #131

fix: login response unification (#47)

fix: login response unification (#47) #131

name: Backend Test CI
on:
push:
branches: [ main ]
paths:
- 'cmd/**'
- 'internal/**'
- 'go.mod'
- 'go.sum'
- 'go.work'
- '.github/workflows/**'
pull_request:
branches: [ main ]
paths:
- 'cmd/**'
- 'internal/**'
- 'go.mod'
- 'go.sum'
- 'go.work'
- '.github/workflows/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v6
with:
go-version: '1.25'
cache: true
- name: Run tests with coverage
run: go test -p=1 -v -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
if: ${{ github.event_name != 'pull_request' || !contains(join(github.event.pull_request.labels.*.name, ','), 'skip-codecov') }}
uses: codecov/codecov-action@v5
with:
files: coverage.out
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}