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

View File

@ -1,8 +0,0 @@
language: crystal
crystal:
- latest
- nightly
script:
- crystal spec
- crystal run examples/test.cr
- crystal run examples/test2.cr

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015 Aşkın Gedik
Copyright (c) 2021 Aşkın Gedik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal