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

Adds automatic tests and checks on every commit / PR via Github Actions #3

Closed
wants to merge 2 commits into from

Conversation

phayes
Copy link
Collaborator

@phayes phayes commented Apr 29, 2021

This PR does the following using github actions:

  1. Runs cargo audit every night
  2. When a point-release is tagged, automatically uploads it to crates.io (this may not be your preferred workflow, let me know and I can remove this).
  3. On every commit / PR, does the following:
    A. Runs cargo test
    B. Runs cargo fmt -- --check to check that code formatting adheres to rustfmt standards
    C. Runs cargo clippy to check that things conform to clippy's lints
    D. Generates test coverage statistics and uploads it to codecov.io

For item 2, it will need CARGO_API_KEY secret to be in place, for item 3D, it will need CODECOV_TOKEN secret to be in place.

@phayes phayes closed this May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant