Skip to content

More test fixes

More test fixes #723

Triggered via push August 7, 2024 20:52
Status Failure
Total duration 1m 43s
Artifacts

main.yml

on: push
Static Analysis
1m 19s
Static Analysis
Matrix: Run ExUnit tests
Fit to window
Zoom out
Zoom in

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