Skip to content

crystal-vips CI

crystal-vips CI #115

Workflow file for this run

name: crystal-vips CI
on:
push:
pull_request:
branches: [main]
schedule:
- cron: '0 6 * * 6' # Every Saturday 6 AM
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install libvips
env:
DEBIAN_FRONTEND: noninteractive
run:
# we only need the library
sudo apt-get update && sudo apt-get install libvips-dev
- name: Run tests
run: crystal spec --error-trace -v spec
- name: Check formatting
run: crystal tool format --check