mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-17 20:30:06 +08:00
(ci): Run go (build|test) commands for each module
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -22,12 +22,21 @@ jobs:
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Build
|
||||
- name: Build core module
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
- name: Build x module
|
||||
run: cd x && go build -v ./... && cd ..
|
||||
|
||||
- name: Build tools module
|
||||
run: cd tools && go build -v ./... && cd ..
|
||||
|
||||
- name: Test core module
|
||||
run: go test -race -v -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
- name: Test x module
|
||||
run: cd x && go test -race -v ./... && cd ..
|
||||
|
||||
- name: Benchmark Test
|
||||
run: go test -run=^$ -bench=. -loglevel=debug ./...
|
||||
|
||||
|
Reference in New Issue
Block a user