1
0
mirror of https://github.com/askn/faker.git synced 2023-08-10 21:13:01 +03:00

add github actions CI

This commit is contained in:
Rob
2021-04-10 20:19:11 -06:00
parent bfda3f2fd8
commit ea898d7352
3 changed files with 26 additions and 9 deletions

25
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Tests
on:
schedule:
- cron: '0 10 1 * *'
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
name: Test
runs-on: ubuntu-latest
container:
image: crystallang/crystal:latest
steps:
- uses: actions/checkout@v2
- run: crystal --version
- run: shards install
- run: crystal spec
- run: crystal run examples/test.cr
- run: crystal run examples/test2.cr