Skip to content

Commit

Permalink
added SQLite for github actions test purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalixto committed Dec 22, 2024
1 parent ba2ee6f commit 6a67668
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/crystal-test.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
name: Crystal Test

on:
workflow_dispatch:
push:
branches: ["**"]
branches: [master]
pull_request:
branches: ["**"]
branches: [master]

jobs:
crystal_test:
name: Crystal Test
test:
runs-on: ubuntu-latest
strategy:
matrix:
crystal-version: ["1.9", "1.10"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Set up Crystal
- 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
with:
crystal: ${{ matrix.crystal-version }}

- name: Install dependencies
run: shards install

- name: Run specs
- name: Run tests
run: crystal spec
10 changes: 0 additions & 10 deletions db/migrations/20241216172336_create_friendly_id_slugs.sql

This file was deleted.

0 comments on commit 6a67668

Please sign in to comment.