-
Notifications
You must be signed in to change notification settings - Fork 21
47 lines (43 loc) · 923 Bytes
/
crystal.yml
File metadata and controls
47 lines (43 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Crystal CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crystal:
- nightly
- latest
- "1.18"
- "1.17"
redis:
- "6.0"
- "6.2"
- "7"
- "7.2"
- "8.0"
- "8.2"
- "8.4"
- "8.6"
container:
image: crystallang/crystal:${{ matrix.crystal }}
services:
redis:
image: redis:${{ matrix.redis }}
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 1s
--health-timeout 5s
--health-retries 60
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec --profile
env:
REDIS_URL: redis://redis/