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

CircleCI updates, removal of github actions #813

Merged
merged 15 commits into from
Nov 9, 2020
Merged

CircleCI updates, removal of github actions #813

merged 15 commits into from
Nov 9, 2020

Conversation

dutterbutter
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Removes github actions
  • Moves doc and audit checks to circleci
  • Adds macos, nightly, and install build checks
  • Adds code coverage using grcov
  • Adds codecov badge to repo
  • Adds daily build check to main

I think we are able to take advantage of parallelism within container for test vectors as defined here but I could not get it to split the tests out correctly.

Reference issue to close (if applicable)
Closes #467

Other information and links

@@ -140,15 +211,89 @@ jobs:
- run:
name: Run test vectors
command: make run-vectors
install:
coverage:
executor: mac-executor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should maybe use the linux executor? or is this intentional?

Copy link
Contributor Author

@dutterbutter dutterbutter Nov 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intentional, I kept getting unexpected issues while running in the linux executor. I plan to investigate this more as its likely somehow caused by the grcov env vars but for now should be sufficient.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a TODO comment to indicate this, so it doesn't get lost in the future? Or some mechanism to come back to this?

name: Upload to codecov
command: |
zip -0 ccov.zip `find . \( -name "forest*.gc*" \) -print`;
./grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" --ignore="target/debug/build/*" --ignore="tests/*" --ignore="blockchain/beacon/tests/*" -o lcov.info;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
./grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" --ignore="target/debug/build/*" --ignore="tests/*" --ignore="blockchain/beacon/tests/*" -o lcov.info;
./grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" --ignore="target/debug/build/*" --ignore="**/tests/*" -o lcov.info;

Copy link
Contributor

@austinabell austinabell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work dude :)

@@ -140,15 +211,89 @@ jobs:
- run:
name: Run test vectors
command: make run-vectors
install:
coverage:
executor: mac-executor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a TODO comment to indicate this, so it doesn't get lost in the future? Or some mechanism to come back to this?

@dutterbutter dutterbutter requested a review from ec2 November 9, 2020 15:27
@dutterbutter
Copy link
Contributor Author

@ec2 @austinabell sorry had to update readme badges

Copy link
Contributor

@austinabell austinabell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new changes lgtm

@dutterbutter dutterbutter merged commit a86f005 into main Nov 9, 2020
@dutterbutter dutterbutter deleted the db/ci-wrk branch November 9, 2020 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Circle CI Improvements
3 participants