Skip to content

Enable color in CI

Enable color in CI #6

Workflow file for this run

name: ci
on: [ push ]
jobs:
test:
runs-on: ubuntu-20.04
container: clojure:openjdk-19-tools-deps-1.11.1.1113-bullseye
services:
redis:
image: redis:7.0
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
rabbitmq:
image: heidiks/rabbitmq-delayed-message-exchange:3.9.13-management
env:
RABBITMQ_DEFAULT_USER: goose
RABBITMQ_DEFAULT_PASS: 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
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