Skip to content

Add use_color option to show_plot #72

Add use_color option to show_plot

Add use_color option to show_plot #72

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
crystal: [latest]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}
- name: Install shards
run: shards install --without-development
- name: Run specs
run: crystal spec
- name: Build examples
shell: bash
run: |
find examples -name "*.cr" | sort | while read -r f; do
echo "Building $f ..."
crystal build --no-codegen "$f"
done
- name: Check formatting
if: runner.os != 'Windows'
run: crystal tool format --check