added SQLite for github actions test purpose #10
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 Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install SQLite deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libsqlite3-dev | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
- name: Install dependencies | |
run: shards install | |
- name: Run tests | |
run: crystal spec |