More test fixes #723
main.yml
on: push
Static Analysis
1m 19s
Matrix: Run ExUnit tests
Annotations
12 errors and 5 warnings
Static Analysis
Process completed with exit code 8.
|
Run ExUnit tests (1.17, 26.0)
Process completed with exit code 1.
|
Run ExUnit tests (1.17, 27.0)
The job was canceled because "_1_17_26_0" failed.
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L118
test outputs to STDOUT if the -s flag is present and there is an assign override (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L143
test outputs to STDOUT if the -s flag is present and there are multiple assign overrides (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L56
test raises if the dashboard does not exist (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L80
test raises if the user does not specify output destination (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L105
test outputs to STDOUT if the --stdout flag is present (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L92
test outputs to STDOUT if the -s flag is present (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/mix/tasks/prom_ex.dashboard.export_test.exs#L131
test should raise if an invalid JSON document is produced (Mix.Tasks.PromEx.Dashboard.ExportTest)
|
Run ExUnit tests (1.17, 27.0):
test/prom_ex/metrics_server/plug_test.exs#L173
test call/2 should return a 503 and emit a logger warning if the PromEx server is not available (PromEx.MetricsServer.PlugTest)
|
Run ExUnit tests (1.17, 27.0)
The operation was canceled.
|
Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Analysis
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|
Static Analysis:
lib/prom_ex/plugins/phoenix.ex#L253
Function body is nested too deep (max depth is 2, was 3).
|
Run ExUnit tests (1.17, 26.0)
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|
Run ExUnit tests (1.17, 27.0)
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|