mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-07 20:20:26 -03:00
23 lines
615 B
YAML
23 lines
615 B
YAML
name: Tests
|
|
on:
|
|
# This can't yet run automatically, because tests fail because of
|
|
# different versions of chroma. Need to get the same one in my
|
|
# local env and in CI
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Download source
|
|
uses: actions/checkout@v4
|
|
- name: Install Crystal
|
|
uses: crystal-lang/install-crystal@v1
|
|
- name: Run tests
|
|
run: |
|
|
sudo apt-get update && sudo apt-get install golang-chroma -y
|
|
shards install
|
|
crystal tool format --check
|
|
crystal spec -v
|