Skip to content

Commit 6eb5216

Browse files
authored
Fix workflow failures (#1)
* Fix workflow failures * Fix MIX_ENV setup
1 parent 6de48cc commit 6eb5216

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/elixir.yml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
path: deps
3434
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
3535
restore-keys: ${{ runner.os }}-mix-
36+
- name: Setup environment
37+
run: echo "MIX_ENV=test" >> $GITHUB_ENV
3638
- name: Install dependencies
3739
run: mix deps.get
3840
- name: Compile dependencies

test/double_gis_monitor_test.exs

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ defmodule DoubleGisMonitorTest do
22
use ExUnit.Case
33
doctest DoubleGisMonitor
44

5-
test "greets the world" do
6-
assert DoubleGisMonitor.hello() == :world
5+
test "Dummy event building" do
6+
e = %DoubleGisMonitor.Event{}
7+
assert(e.uuid == nil)
78
end
89
end

0 commit comments

Comments
 (0)