-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 767 Bytes
/
ci.yml
File metadata and controls
35 lines (28 loc) · 767 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
name: CI
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
crystal: [latest, nightly]
runs-on: ${{ matrix.os }}
steps:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}
- name: Download source
uses: actions/checkout@v6
- name: Install dependencies
run: shards install
- name: Build binary
run: shards build
- name: Run basic tests
run: bin/fx-calculator -p float_rates -C EUR '$111.11' '111,11 EUR to USD' 'USD to PLN'