Skip to content
This repository was archived by the owner on Oct 31, 2021. It is now read-only.

Commit 85ccfee

Browse files
committed
Tweaking coloring, fixing junit.
1 parent 5cc7d87 commit 85ccfee

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/acceptance.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: mikepenz/action-junit-report@v2
6767
if: always() # always run even if the previous step fails
6868
with:
69-
report_paths: '/rest-api.xml'
69+
report_paths: '$GITHUB_WORKSPACE/rest-api.xml'
7070
check_name: 'Go Test Summary'
7171

7272
pg-test:

.github/workflows/incoming.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: mikepenz/action-junit-report@v2
5151
if: always() # always run even if the previous step fails
5252
with:
53-
report_paths: '/rest-api.xml'
53+
report_paths: '$GITHUB_WORKSPACE/rest-api.xml'
5454
check_name: 'Go Test Summary'
5555
pg-test:
5656
name: PostgreSQL Test

.github/workflows/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: mikepenz/action-junit-report@v2
4343
if: always() # always run even if the previous step fails
4444
with:
45-
report_paths: '/rest-api.xml'
45+
report_paths: '$GITHUB_WORKSPACE/rest-api.xml'
4646
check_name: 'Go Test Summary'
4747
pg-test:
4848
timeout-minutes: 10

Makefile

+6-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ ENV_LOWER = $(shell echo $(ENVIRONMENT) | tr A-Z a-z)
1616

1717
GENERATED_YAML=$(PWD)/generated/$(ENV_LOWER)
1818

19-
#PATH+=\b:$(LOCAL_BIN):$(NODE_MODULES_BIN)
20-
2119
ifndef POSTGRES_DB
2220
POSTGRES_DB=postgres
2321
endif
@@ -30,15 +28,19 @@ ifndef POSTGRES_HOST
3028
POSTGRES_HOST=localhost
3129
endif
3230

31+
GREEN=\033[0;32m
32+
YELLOW=\033[1;33m
33+
RESET=\033[0m
34+
3335
# Just a shorthand to print some colored text, makes it easier to read and tell the developer what all the makefile is
3436
# doing since its doing a ton.
3537
ifndef BUILDKITE
3638
define infoMsg
37-
@echo "\033[0;32m[$@] $(1)\033[0m"
39+
@echo "$(GREEN)[$@] $(1)$(RESET)"
3840
endef
3941

4042
define warningMsg
41-
@echo "\033[1;33m[$@] $(1)\033[0m"
43+
@echo "$(YELLOW)[$@] $(1)$(RESET)"
4244
endef
4345
else
4446
define infoMsg

0 commit comments

Comments
 (0)