Skip to content

Conversation

@keithrfung
Copy link
Contributor

@keithrfung keithrfung commented Aug 5, 2020

Issue

Fixes #121
Fixes #141
Fixes #142

Description

  • Reduce MacOS and Windows to only run integration tests.
  • Add make file to run all integration tests
  • Add simpler commands to make file
  • Fix dependency graph command issue
  • Increment release number

Testing

Checklist

🚨Please review the guidelines for contributing to this repository.

  • 🤔 CONSIDER adding a unit test if your PR resolves an issue.
  • DO check open PR's to avoid duplicates.
  • DO keep pull requests small so they can be easily reviewed.
  • DO build locally before pushing.
  • DO make sure tests pass.
  • DO make sure any new changes are documented.
  • DO make sure not to introduce any compiler warnings.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

💚Thank you!

@keithrfung keithrfung force-pushed the feature/pull-request-ci branch from 3993489 to e1608b5 Compare August 5, 2020 21:22
@keithrfung keithrfung changed the title ✅ Modify Pull Request Workflow for Shorter Build times ✅ Balerion HotFix for Release Build Workflow Aug 5, 2020
@keithrfung keithrfung added the WIP label Aug 5, 2020
@keithrfung keithrfung self-assigned this Aug 5, 2020
@keithrfung keithrfung force-pushed the feature/pull-request-ci branch 2 times, most recently from c3bb1de to 3341b7c Compare August 5, 2020 22:15
- Reduce MacOS and Windows to only run integration tests. 
- Add make file to run all integration tests
- Simplify commands for CI
- Add test pypi commands for CI for easy flipping
- Add noshow to stop existing issue
- Add release commands
@keithrfung keithrfung force-pushed the feature/pull-request-ci branch from 38ec827 to 1fc1906 Compare August 5, 2020 22:36
@keithrfung keithrfung removed the WIP label Aug 5, 2020
verify_ssl = true

[dev-packages]
atomicwrites = "*"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required for windows tests. pytest requires it but it is not installed by default.

dependency-graph-ci:
sudo apt install graphviz
pip install pydeps
pydeps --noshow --max-bacon 2 -o dependency-graph.svg src/electionguard
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The lack of this --no-show is what caused the build to fail.

release_name: Release ${{ env.PACKAGE_VERSION }}
draft: false
prerelease: false
- name: Dependency Graph
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved the order of this up so it wouldn't block the rest of the build after pypi is pushed.

@keithrfung keithrfung added the bug Something isn't working label Aug 5, 2020
@keithrfung
Copy link
Contributor Author

keithrfung commented Aug 6, 2020

Please review.

@keithrfung keithrfung requested review from rc-ms and removed request for AddressXception August 6, 2020 19:00
@rc-ms rc-ms merged commit 7c6238c into main Aug 7, 2020
@rc-ms
Copy link
Contributor

rc-ms commented Aug 7, 2020

This looks great! Thank you for your patience Keith!

@keithrfung keithrfung deleted the feature/pull-request-ci branch August 12, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update version to v1.1.1 Dependency Graph fails on Release Build Speed Up CI for Pull Request Workflow

3 participants