Add test to CI/CD & sanitize file
This commit is contained in:
parent
f425019347
commit
e3f14678e7
1 changed files with 14 additions and 10 deletions
14
.github/workflows/crystal.yml
vendored
14
.github/workflows/crystal.yml
vendored
|
@ -1,10 +1,11 @@
|
||||||
|
---
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
"on":
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: ["master"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -15,9 +16,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: shards install
|
run: shards install
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: make test
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
run: make build
|
run: make build
|
||||||
#- name: Run tests
|
|
||||||
# run: crystal spec
|
|
||||||
|
|
Loading…
Reference in a new issue