Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[179864] Enable static analysis in CircleCI #269

Merged
merged 5 commits into from
Apr 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,27 @@ jobs:
key: asdf_directory-{{ .Branch }}-{{ .Revision }}
paths:
- /usr/local/asdf
antikythera_static_analysis:
<<: *container_config
working_directory: /tmp/antikythera
steps:
- *install_prerequisites
- *restore_asdf_directory
- *enable_asdf_and_elixir
- restore_cache:
keys:
- antikythera-repo-static-analysis-{{ .Branch }}-{{ .Revision }}
- antikythera-repo-static-analysis-{{ .Branch }}-
- checkout
- run: mix deps.get
- run: mix credo -a --strict
- run: mix dialyzer
- run: rm -rf tmp/
- save_cache:
key: antikythera-repo-static-analysis-{{ .Branch }}-{{ .Revision }}
paths:
- .
- ~/.cache
antikythera_whitebox_test:
<<: *container_config
working_directory: /tmp/antikythera
Expand Down Expand Up @@ -328,14 +349,19 @@ workflows:
antikythera:
jobs:
- prepare_elixir
- antikythera_static_analysis:
requires:
- prepare_elixir
- antikythera_whitebox_test:
requires:
- prepare_elixir
- update_antikythera_instance_example:
requires:
- antikythera_static_analysis
- antikythera_whitebox_test
- prepare_testgear:
requires:
- antikythera_static_analysis
- antikythera_whitebox_test
- upgrade_compatibility_test:
requires:
Expand Down