Skip to content

Commit

Permalink
Enable color in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
olttwa committed Sep 23, 2024
1 parent 670b30a commit 7c2c097
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/test_lint_fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
services:
redis:
image: redis:7.0
# Health checks will wait until redis has started.
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
Expand All @@ -20,31 +19,39 @@ jobs:
env:
RABBITMQ_DEFAULT_USER: goose
RABBITMQ_DEFAULT_PASS: top-gun
env:
TERM: xterm-256color
GOOSE_TEST_REDIS_HOST: redis
GOOSE_TEST_REDIS_PORT: 6379
GOOSE_TEST_RABBITMQ_HOST: rabbitmq
GOOSE_TEST_RABBITMQ_PORT: 5672
GOOSE_TEST_RABBITMQ_USERNAME: goose
GOOSE_TEST_RABBITMQ_PASSWORD: top-gun


steps:
- uses: actions/checkout@v3

- name: Check formatting
run: clj -M:cljfmt check
env:
TERM: xterm-256color # Add TERM for color output explicitly

- name: Run tests
run: clj -X:test
env:
TERM: xterm-256color # Add TERM for color output explicitly

lint:
runs-on: ubuntu-20.04
container: cljkondo/clj-kondo:2022.10.05-alpine
env:
TERM: xterm-256color

steps:
- uses: actions/checkout@v3

- name: Lint src
run: clj-kondo --lint src/
env:
TERM: xterm-256color # Add TERM for color output explicitly

- name: Lint test
run: clj-kondo --lint test/
env:
TERM: xterm-256color # Add TERM for color output explicitly

- name: Lint perf
run: clj-kondo --lint perf/
env:
TERM: xterm-256color # Add TERM for color output explicitly

0 comments on commit 7c2c097

Please sign in to comment.