File tree Expand file tree Collapse file tree 3 files changed +46
-16
lines changed Expand file tree Collapse file tree 3 files changed +46
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ format :
7+ name : Format
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v1
11+ - name : Install OTP and Elixir
12+ 13+ with :
14+ otp-version : 22.1
15+ elixir-version : 1.6.6
16+ - name : Install dependencies
17+ run : mix deps.get --only test
18+ - name : Check mix format
19+ run : mix format --check-formatted
20+
21+ test :
22+ name : Test
23+ runs-on : ubuntu-latest
24+ services :
25+ redis :
26+ image : redis:5.0
27+ ports :
28+ - 6379:6379
29+ options : --entrypoint redis-server
30+ steps :
31+ - uses : actions/checkout@v1
32+ - name : Install OTP and Elixir
33+ 34+ with :
35+ otp-version : 22.1
36+ elixir-version : 1.6.6
37+ - name : Install dependencies
38+ run : |
39+ mix deps.get --only test
40+ mix deps.compile
41+ - name : Run tests
42+ run : mix test
43+ env :
44+ REDIS_HOST : redis
45+ REDIS_PORT : ${{ job.services.redis.ports[6379] }}
Original file line number Diff line number Diff line change 11# Flume
22
3- [ ![ CircleCI ] ( https://circleci .com/gh/ scripbox/flume.svg?style=svg )] ( https://circleci.com/gh/scripbox/flume )
3+ ![ Test ] ( https://github .com/scripbox/flume/workflows/CI/badge .svg?branch=master&event=push )
44
55Flume is a job processing system backed by [ GenStage] ( https://github.com/elixir-lang/gen_stage ) & [ Redis] ( https://redis.io/ )
66
You can’t perform that action at this time.
0 commit comments