crystal-vips CI #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 install --fix-missing -qq -o Acquire::Retries=3 libvips-dev | |
- name: Run tests | |
run: crystal spec --error-trace -v spec | |
- name: Check formatting | |
run: crystal tool format --check |