From 2256b68e4fda6c9c9aebd8034ce0170bf2d4ceb1 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 4 Jan 2021 10:18:05 -0700 Subject: [PATCH 1/2] update readme status badge and CI branch --- .github/workflows/main.yml | 6 +++--- README.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0831922..f3ae8be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,12 +1,12 @@ -name: Common Test +name: EUnit on: pull_request: branches: - - 'main' + - 'master' push: branches: - - 'main' + - 'master' jobs: build: diff --git a/README.md b/README.md index 4367eaf..2230425 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ Erlware Commons Current Status -------------- -[![Build Status](https://secure.travis-ci.org/erlware/erlware_commons.png)](http://travis-ci.org/erlware/erlware_commons) + +![Tests](https://github.com/erlware/erlware_commons/workflows/EUnit/badge.svg) Introduction ------------ From 32e62781bbbd33934800c63ae0686cd41fd7da8f Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 4 Jan 2021 11:52:55 -0700 Subject: [PATCH 2/2] set TERM os var to xterm to get cf to not drop color in logs --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3ae8be..f76e374 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,4 +28,4 @@ jobs: - name: Compile run: rebar3 compile - name: EUnit tests - run: rebar3 eunit + run: TERM=xterm rebar3 eunit