Skip to content

Commit 6a67668

Browse files
author
dcalixto
committed
added SQLite for github actions test purpose
1 parent ba2ee6f commit 6a67668

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

.github/workflows/crystal-test.yml

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
11
name: Crystal Test
22

33
on:
4-
workflow_dispatch:
54
push:
6-
branches: ["**"]
5+
branches: [master]
76
pull_request:
8-
branches: ["**"]
7+
branches: [master]
98

109
jobs:
11-
crystal_test:
12-
name: Crystal Test
10+
test:
1311
runs-on: ubuntu-latest
14-
strategy:
15-
matrix:
16-
crystal-version: ["1.9", "1.10"]
1712

1813
steps:
19-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v3
2015

21-
- name: Set up Crystal
16+
- name: Install SQLite deps
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y libsqlite3-dev
20+
21+
- name: Install Crystal
2222
uses: crystal-lang/install-crystal@v1
23-
with:
24-
crystal: ${{ matrix.crystal-version }}
2523

2624
- name: Install dependencies
2725
run: shards install
2826

29-
- name: Run specs
27+
- name: Run tests
3028
run: crystal spec

db/migrations/20241216172336_create_friendly_id_slugs.sql

-10
This file was deleted.

0 commit comments

Comments
 (0)