Skip to content

feat: 레지스트리 및 런타임 기반 WebSocket 지원 추가 #3

feat: 레지스트리 및 런타임 기반 WebSocket 지원 추가

feat: 레지스트리 및 런타임 기반 WebSocket 지원 추가 #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit:
name: Unit Tests
runs-on: ubuntu-latest
env:
GOCACHE: /tmp/gocache
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Download dependencies
run: go mod download
- name: Run unit tests
run: |
packages=$(go list ./... | grep -v '/test$')
if [ -z "$packages" ]; then
echo "No package to test."
exit 0
fi
go test $packages
integration:
name: Integration Tests
runs-on: ubuntu-latest
env:
GOCACHE: /tmp/gocache
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Download dependencies
run: go mod download
- name: Run integration tests
run: go test ./test -count=1