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:
parent
bfda3f2fd8
commit
ea898d7352
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal 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
|
@ -1,8 +0,0 @@
|
||||
language: crystal
|
||||
crystal:
|
||||
- latest
|
||||
- nightly
|
||||
script:
|
||||
- crystal spec
|
||||
- crystal run examples/test.cr
|
||||
- crystal run examples/test2.cr
|
Loading…
Reference in New Issue
Block a user