pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
115 stars 28 forks source link

Automation of assembly and unit testing #139

Closed andyoknen closed 2 years ago

andyoknen commented 2 years ago

Implement the processes of automatic assembly and launch of unit tests for branch 0.20 with a trigger for pull request

tawmaz commented 2 years ago

I am looking at how to do this with GitHub actions. AWS CodeBuild is another option I am very familiar with and can use github as a repository as a fallback.

tawmaz commented 2 years ago

I have a github actions yaml file created in my repo which complete make + make check + make deploy: https://github.com/tawmaz/pocketnet.core/blob/master/.github/workflows/makecheck.yml Here is a test run against the old reindexer build: https://github.com/tawmaz/pocketnet.core/runs/4723888680?check_suite_focus=true It needs a few tweaks to upload the resultant file and speed up the build. Right now it takes about an hour to complete.

andyoknen commented 2 years ago

make check

tawmaz commented 2 years ago

https://github.com/pocketnetteam/pocketnet.core/pull/141

tawmaz commented 2 years ago

Here is the first successful automated build + testrun for the pocketnet.core repo: https://github.com/pocketnetteam/pocketnet.core/actions/runs/1681403579 It will run automatically for pull requests and can also be invoked manually through the Actions tab.