Skip to content

Commit

Permalink
Fix workflow failures (#1)
Browse files Browse the repository at this point in the history
* Fix workflow failures

* Fix MIX_ENV setup
  • Loading branch information
meequrox authored Apr 15, 2024
1 parent 6de48cc commit 6eb5216
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Setup environment
run: echo "MIX_ENV=test" >> $GITHUB_ENV
- name: Install dependencies
run: mix deps.get
- name: Compile dependencies
Expand Down
5 changes: 3 additions & 2 deletions test/double_gis_monitor_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ defmodule DoubleGisMonitorTest do
use ExUnit.Case
doctest DoubleGisMonitor

test "greets the world" do
assert DoubleGisMonitor.hello() == :world
test "Dummy event building" do
e = %DoubleGisMonitor.Event{}
assert(e.uuid == nil)
end
end

0 comments on commit 6eb5216

Please sign in to comment.