forked from Qqwy/elixir-rational
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
388 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# create this in .github/workflows/ci.yml | ||
name: ci | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | ||
strategy: | ||
matrix: | ||
include: | ||
- elixir: 1.14.x | ||
otp: 25.x | ||
- elixir: 1.14.x | ||
otp: 24.x | ||
- elixir: 1.14.x | ||
otp: 23.x | ||
- elixir: 1.13.x | ||
otp: 24.x | ||
- elixir: 1.13.x | ||
otp: 23.x | ||
- elixir: 1.13.x | ||
otp: 22.x | ||
- elixir: 1.12.x | ||
otp: 24.x | ||
- elixir: 1.12.x | ||
otp: 23.x | ||
- elixir: 1.12.x | ||
otp: 22.x | ||
- elixir: 1.11.x | ||
otp: 23.x | ||
- elixir: 1.11.x | ||
otp: 22.x | ||
- elixir: 1.11.x | ||
otp: 21.x | ||
- elixir: 1.10.x | ||
otp: 22.x | ||
- elixir: 1.10.x | ||
otp: 21.x | ||
- elixir: 1.9.x | ||
otp: 22.x | ||
- elixir: 1.9.x | ||
otp: 21.x | ||
- elixir: 1.9.x | ||
otp: 20.x | ||
- elixir: 1.8.x | ||
otp: 22.x | ||
- elixir: 1.8.x | ||
otp: 21.x | ||
- elixir: 1.8.x | ||
otp: 20.x | ||
# - elixir: 1.7.x | ||
# otp: 22.x | ||
# - elixir: 1.7.x | ||
# otp: 21.x | ||
# - elixir: 1.7.x | ||
# otp: 20.x | ||
# - elixir: 1.7.x | ||
# otp: 19.x | ||
# - elixir: 1.6.x | ||
# otp: 20.x | ||
# - elixir: 1.6.x | ||
# otp: 19.x | ||
env: | ||
MIX_ENV: test | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# NODE_COVERALLS_DEBUG: 1 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
- uses: actions/cache@v2 | ||
id: mix-cache | ||
with: | ||
path: | | ||
deps | ||
_build | ||
key: ${{ runner.os }}-${{ matrix.otp}}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.otp}}-${{ matrix.elixir }}-mix- | ||
- if: steps.mix-cache.outputs.cache-hit != 'true' | ||
run: | | ||
mix deps.get | ||
mix deps.compile | ||
- run: mix compile | ||
- run: mix test # Testing is already done as part of the next task: | ||
# - run: mix coveralls.github --trace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
elixir 1.12.3-otp-24 | ||
erlang 24.1.2 | ||
elixir 1.15.0 | ||
erlang 25.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1 @@ | ||
# This file is responsible for configuring your application | ||
# and its dependencies with the aid of the Mix.Config module. | ||
use Mix.Config | ||
|
||
# This configuration is loaded before any dependency and is restricted | ||
# to this project. If another project depends on this project, this | ||
# file won't be loaded nor affect the parent project. For this reason, | ||
# if you want to provide default values for your application for | ||
# 3rd-party users, it should be done in your "mix.exs" file. | ||
|
||
# You can configure for your application as: | ||
# | ||
# config :rational, key: :value | ||
# | ||
# And access this configuration in your application as: | ||
# | ||
# Application.get_env(:rational, :key) | ||
# | ||
# Or configure a 3rd-party app: | ||
# | ||
# config :logger, level: :info | ||
# | ||
|
||
# It is also possible to import configuration files, relative to this | ||
# directory. For example, you can emulate configuration per environment | ||
# by uncommenting the line below and defining dev.exs, test.exs and such. | ||
# Configuration from the imported file will override the ones defined | ||
# here (which is why it is important to import them last). | ||
# | ||
# import_config "#{Mix.env}.exs" | ||
# Ratio does not have any config |
Oops, something went wrong.