Closed mbestavros closed 5 years ago
I've amended the tests to also run in the amd-sev
subdirectory. That crate isn't properly formatted yet, which is why tests are failing. I can roll the formatting into this patch, or make a separate one if preferred.
One pull request with two commits please.
I can't believe I missed the obvious solution to all this. Make the parent directory a Cargo workspace.
https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
Agreed, that is the cleanest way to get what we need. How should I approach making that change? Separate commit adding the workspace before adding travis.yml
?
Yup. Logical commits.
@npmccallum This is now rebased on @steveeJ's now-merged demo, with some additional fixes. Ready for a look.
@npmccallum @steveeJ I've amended the new Travis config in this PR to include a cargo-audit test, and fixed a change being in the wrong commit. Ready for re-review.
Looks like cargo audit is already revealing vulnerable dependencies for us. I suggest to bump them in a separate PR and rebase this one.
@steveeJ I noticed that. It seemed like it was a broken dependency in a Wasmtime crate, so I don't know if we can bump that ourselves.
Regardless, I've removed the audit
check and will add it back in once this is merged.
@steveeJ I've reworded most of the commits; they should match up with the logical changes in each of them better now.
To enforce proper formatting standards on Enarx projects, we'd like to run cargo fmt on all incoming pull requests to Enarx projects. This enables the appropriate test using Travis CI.
Resolves #11.