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
24
.github/workflows/crystal.yml
vendored
24
.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:
|
||||||
|
@ -14,10 +15,13 @@ jobs:
|
||||||
image: crystallang/crystal
|
image: crystallang/crystal
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
|
||||||
run: shards install
|
- name: Install dependencies
|
||||||
- name: Run build
|
run: shards install
|
||||||
run: make build
|
|
||||||
#- name: Run tests
|
- name: Run tests
|
||||||
# run: crystal spec
|
run: make test
|
||||||
|
|
||||||
|
- name: Run build
|
||||||
|
run: make build
|
||||||
|
|
Loading…
Reference in a new issue