Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .circleci/config.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on: [push, pull_request]

jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install OTP and Elixir
uses: actions/setup-elixir@v1.2.0
with:
otp-version: 22.1
elixir-version: 1.6.6
- name: Install dependencies
run: mix deps.get --only test
- name: Check mix format
run: mix format --check-formatted

test:
name: Test
runs-on: ubuntu-latest
services:
redis:
image: redis:5.0
ports:
- 6379:6379
options: --entrypoint redis-server
steps:
- uses: actions/checkout@v1
- name: Install OTP and Elixir
uses: actions/setup-elixir@v1.2.0
with:
otp-version: 22.1
elixir-version: 1.6.6
- name: Install dependencies
run: |
mix deps.get --only test
mix deps.compile
- name: Run tests
run: mix test
env:
REDIS_HOST: redis
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Flume

[![CircleCI](https://circleci.com/gh/scripbox/flume.svg?style=svg)](https://circleci.com/gh/scripbox/flume)
![Test](https://github.com/scripbox/flume/workflows/CI/badge.svg?branch=master&event=push)

Flume is a job processing system backed by [GenStage](https://github.com/elixir-lang/gen_stage) & [Redis](https://redis.io/)

Expand Down