Run tests without Coveralls

as it doesn't support the --warnings-as-errors option
This commit is contained in:
Marcel Otto 2022-06-19 21:30:00 +02:00
parent 3f0c6635c1
commit 1d32d6ecc0
2 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,9 @@ jobs:
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: MIX_ENV=test mix coveralls.github --warnings-as-errors
# TODO: ExCoveralls doesn't seem to support --warnings-as-errors which we rely on.
# - run: MIX_ENV=test mix coveralls.github --warnings-as-errors
- run: mix test --warnings-as-errors
- name: Retrieve PLT Cache
uses: actions/cache@v1

View File

@ -1,3 +1,5 @@
# These tests rely on running with mix test --warnings-as-errors to ensure
# the undefined-function warnings raised at compile-time are caught properly.
defmodule RDF.Graph.BuilderTest do
use ExUnit.Case