Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
williamthome committed Nov 1, 2023
1 parent 3591fb6 commit 7fc46ba
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/elixir-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Elixir CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:

runs-on: ubuntu-latest
name: Tests

container:
image: elixir:1.15

steps:
- uses: actions/checkout@v2
- name: Compile Euneus
run: rebar3 compile
- name: Install test dependencies
run: cd euneus_test && mix deps.get
- name: Compile test project
run: cd euneus_test && mix compile
- name: Run tests
run: cd euneus_test && mix test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Erlang CI

on:
push:
Expand All @@ -22,4 +22,4 @@ jobs:
- name: Run dialyzer
run: rebar3 dialyzer
- name: Run tests
run: make test
run: rebar3 do eunit, ct
2 changes: 1 addition & 1 deletion euneus_bench/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule EuneusBench.MixProject do
[
app: :euneus_bench,
version: "0.1.0",
elixir: "~> 1.16-dev",
elixir: "~> 1.15-dev",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases()
Expand Down
2 changes: 1 addition & 1 deletion euneus_test/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule EuneusTest.MixProject do
[
app: :euneus_test,
version: "0.1.0",
elixir: "~> 1.16-dev",
elixir: "~> 1.15-dev",
start_permanent: Mix.env() == :prod,
consolidate_protocols: Mix.env() != :test,
deps: deps()
Expand Down

0 comments on commit 7fc46ba

Please sign in to comment.