Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
reearth-app[bot] committed Sep 18, 2024
2 parents edbd1b0 + 193ddac commit 6d10907
Show file tree
Hide file tree
Showing 154 changed files with 4,236 additions and 760 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pr_title.yml → .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Title Checker
name: PR
on:
pull_request:
types:
Expand Down Expand Up @@ -31,3 +31,8 @@ jobs:
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
8 changes: 7 additions & 1 deletion server/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
TEST_DIR ?= ./...

help:
@echo "Usage:"
@echo " make <target>"
@echo ""
@echo "Targets:"
@echo " lint Run golangci-lint with auto-fix"
@echo " test Run unit tests with race detector in short mode"
@echo " failcheck Run unit tests with fail-fast and no parallel execution"
@echo " e2e Run end-to-end tests"
@echo " build Build the project"
@echo " run-app Run the application"
Expand All @@ -17,6 +20,9 @@ lint:
test:
go test -race -short -v ./...

failcheck:
go test -race -short -failfast -p 1 $(TEST_DIR)

e2e:
go test -v ./e2e/...

Expand All @@ -32,4 +38,4 @@ run-db:
gql:
go generate ./internal/adapter/gql

.PHONY: lint test e2e build run-app run-db gql
.PHONY: lint test failcheck e2e build run-app run-db gql
Loading

0 comments on commit 6d10907

Please sign in to comment.