forked from basho/riak_core
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added pipeline * Workflow badge Ignore VSCode sttings Added specs and documentation to riak_core_claim + format Added some specs and documentation to riak_core_ring (see #78) Added specs and documentation to riak_core_apl Added tags to chashbin documentation Added specs and documentation to riak_core_apl fixed typo in doc tag in chashbin Added documentation status: done to reviewed files Added specs and documentation to riak_core_app Added documentation status: done to riak_core_app Added specs and documentation to riak_core Added specs and documentation to riak_core_claimant Fixed typo in atom in spec Added some specs and documentation to riak_core_ring_manager while Added documentation to riak_core_handoff_listener_sup Added specs to all handoff supervisors Added documentation to riak_core_handoff_listener Added documentation to riak_core_handoff_manager Documentation for riak_core_handoff_receiver Added documentation to riak_core_handoff_sender Added draw.io project cotaining action diagrams of some core functionalities. Apply suggestions from code review Removed status of documentation from source files
- Loading branch information
Showing
26 changed files
with
2,096 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Erlang CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
erlang: [ 21,22,23 ] | ||
|
||
container: | ||
image: erlang:${{ matrix.erlang }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Compile | ||
run: make compile | ||
- name: Format | ||
run: make format | ||
- name: Unit Tests | ||
run: make test | ||
- name: Property-Based Tests | ||
run: make proper | ||
- name: Coverage | ||
run: make coverage | ||
- name: Lint | ||
run: make lint | ||
- name: XRef | ||
run: make xref | ||
- name: Dialyzer | ||
run: make dialyzer | ||
- name: Documentation | ||
run: make docs | ||
- name: Send Coverage | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./rebar3 as test coveralls send |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ rebar3.crashdump | |
.rebar3/ | ||
core_vnode_eqc.log | ||
.idea | ||
.vscode/ | ||
*.iml | ||
**/*.coverdata |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
case os:getenv("TRAVIS") of | ||
"true" -> | ||
lists:keystore(coveralls_service_job_id, 1, CONFIG, {coveralls_service_job_id, os:getenv("TRAVIS_JOB_ID")}); | ||
_ -> | ||
CONFIG | ||
end. | ||
case {os:getenv("GITHUB_ACTIONS"), os:getenv("GITHUB_TOKEN")} of | ||
{"true", Token} when is_list(Token) -> | ||
CONFIG1 = [{coveralls_repo_token, Token}, | ||
{coveralls_service_job_id, os:getenv("GITHUB_RUN_ID")}, | ||
{coveralls_commit_sha, os:getenv("GITHUB_SHA")}, | ||
{coveralls_service_number, os:getenv("GITHUB_RUN_NUMBER")} | CONFIG], | ||
case os:getenv("GITHUB_EVENT_NAME") =:= "pull_request" | ||
andalso string:tokens(os:getenv("GITHUB_REF"), "/") of | ||
[_, "pull", PRNO, _] -> | ||
[{coveralls_service_pull_request, PRNO} | CONFIG1]; | ||
_ -> | ||
CONFIG1 | ||
end; | ||
_ -> | ||
CONFIG | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.