Skip to content

Commit

Permalink
New CI Workflow using Github
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Feb 28, 2020
1 parent 2ed066c commit a533407
Show file tree
Hide file tree
Showing 11 changed files with 420 additions and 35 deletions.
400 changes: 400 additions & 0 deletions .github/workflows/elixir.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ erl_crash.dump
mix.lock
*.ez
/cover
/priv/plts/*.plt
/priv/plts/*.plt.hash
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Financial Contributors on Open Collective](https://opencollective.com/quantum/all/badge.svg?label=financial+contributors)](https://opencollective.com/quantum) [![Hex.pm Version](http://img.shields.io/hexpm/v/quantum.svg)](https://hex.pm/packages/quantum)
[![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/quantum)
[![Build Status](https://travis-ci.com/quantum-elixir/quantum-core.svg?branch=master)](https://travis-ci.com/quantum-elixir/quantum-core)
![.github/workflows/elixir.yml](https://github.com/quantum-elixir/quantum-core/workflows/.github/workflows/elixir.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/quantum-elixir/quantum-core/badge.svg?branch=master)](https://coveralls.io/r/quantum-elixir/quantum-core?branch=master)
[![Hex.pm](https://img.shields.io/hexpm/dt/quantum.svg)](https://hex.pm/packages/quantum)

Expand Down
1 change: 1 addition & 0 deletions lib/quantum/executor.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule Quantum.Executor do
@moduledoc false

# Task to actually execute a Task

use Task
Expand Down
1 change: 1 addition & 0 deletions lib/quantum/executor_supervisor.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule Quantum.ExecutorSupervisor do
@moduledoc false

# This `ConsumerSupervisor` is responsible to start a job for every execute event.

use ConsumerSupervisor
Expand Down
1 change: 1 addition & 0 deletions lib/quantum/job_broadcaster.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule Quantum.JobBroadcaster do
@moduledoc false

# This Module is here to broadcast added / removed tabs into the execution pipeline.

use GenStage
Expand Down
1 change: 1 addition & 0 deletions lib/quantum/normalizer.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule Quantum.Normalizer do
@moduledoc false

# Normalize Config values into a `Quantum.Job`.

alias Crontab.CronExpression
Expand Down
1 change: 1 addition & 0 deletions lib/quantum/task_registry.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule Quantum.TaskRegistry do
@moduledoc false

# Registry to check if a task is already running on a node.

use GenServer
Expand Down
15 changes: 12 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ defmodule Quantum.Mixfile do
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: @version,
dialyzer: [
ignore_warnings: "dialyzer.ignore-warnings"
]
build_embedded: (System.get_env("BUILD_EMBEDDED") || "false") in ["1", "true"],
dialyzer:
[
ignore_warnings: "dialyzer.ignore-warnings"
] ++
if (System.get_env("DIALYZER_PLT_PRIV") || "false") in ["1", "true"] do
[
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
else
[]
end
]
end

Expand Down
Empty file added priv/plts/.gitkeep
Empty file.

0 comments on commit a533407

Please sign in to comment.