blindai icon indicating copy to clipboard operation
blindai copied to clipboard

Improve the CI

Open cchudant opened this issue 3 years ago • 3 comments

This is a mini roadmap for the CI. List of things we might want in the CI (medium term plan):

  • [x] client: build it
    • [ ] client: publish on pypy
  • [x] server: build it
  • [x] server: build the docker images
    • [ ] server: publish on dockerhub
  • [x] server: cargo check
    • [x] clippy
    • [x] cargo audit
  • [ ] server: run unit tests
    • [ ] server: run unit tests using miri
  • [x] e2e: run end to end tests
    • [ ] run in hardware mode (we need an SGX-enabled github runner)
    • [ ] run in azure / on the other cloud providers we officially support
  • [ ] test coverage
    • [ ] server
    • [ ] client

Focus is on end to end tests and building client/server packages for now.

Side goals:

  • [x] end to end tests (test the server and client together as a whole)
    • I am currently preparing a pull request on that
  • [ ] more unit tests on the rust side

Potential future work:

  • benchmarks, and run them in CI — be informed of regressions/improvements in term of inference speed

cchudant avatar Mar 18 '22 14:03 cchudant

Related: https://github.com/rustsec/rustsec Could be a good idea to integrate that

cchudant avatar Mar 21 '22 16:03 cchudant

Related: https://github.com/rustsec/rustsec Could be a good idea to integrate that

Cargo audit support done in #24 but temporarily disabled for now

cchudant avatar Mar 23 '22 11:03 cchudant

Added test coverage reporting to the list

cchudant avatar Mar 23 '22 16:03 cchudant