Skip to content

chore: scaffold backend skeleton + TDD example (CreateProperty test) #1

chore: scaffold backend skeleton + TDD example (CreateProperty test)

chore: scaffold backend skeleton + TDD example (CreateProperty test) #1

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