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

Merge pull request #17 from askn/ci_actions

add github actions CI
This commit is contained in:
robacarp 2021-04-11 21:49:18 -06:00 committed by GitHub
commit 0d54d8e729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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