-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 820 Bytes
/
ci.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
on:
push:
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
crystal: ["1.9", "1.10", "1.11", "1.12", "1.13"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Use Crystal ${{ matrix.crystal }}
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}
- name: Install Shards
run: shards install
- name: Install Python reqs
run: make install_deps
- name: Generate test data
run: make generate_testdata
- name: Run tests
run: crystal spec