-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (41 loc) · 922 Bytes
/
test.yml
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: Tests
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
specs:
strategy:
fail-fast: false
matrix:
shard_file:
- shard.yml
crystal_version:
- 0.36.1
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
include:
- shard_file: shard.yml
crystal_version: latest
ignore_errors: true
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ignore_errors || false }}
container: crystallang/crystal:${{ matrix.crystal_version }}
steps:
- name: Download source
uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal_version }}
- name: Run tests
run: crystal spec