Coder Social home page Coder Social logo

Comments (5)

davidalami avatar davidalami commented on June 7, 2024 1

Sure, @georgettica , thanks!

from vulnmapai.

JesseStorms avatar JesseStorms commented on June 7, 2024 1

Is there a reason why you're specifically testing inside of the Docker container? You can install extra packages on GitHub Runners (docs), so you don't really have to rely on containers. You also can get testing done faster considering you wouldn't have to build it every time.

Also, you forgot to actually add the tests in the Dockerfile, which is probably why pytest isn't working in the container.

from vulnmapai.

davidalami avatar davidalami commented on June 7, 2024 1

Hi @JesseStorms ,

Thanks for pointing that out! There are a few reasons we chose to test inside of a Docker container:

  1. Consistency: Running tests inside a container ensures we have a consistent environment every time. This minimizes the "it works on my machine" type of issues, which can be common with different setups.
  2. Reproducibility: By using Docker, anyone can pull the image and reproduce the tests locally. This can be particularly beneficial for new team members coming on board.

That being said, I do see the merit in utilizing GitHub Runners directly for efficiency. We'll evaluate the trade-offs and might consider this for future updates.

And, you're absolutely right. I missed adding the tests in the Dockerfile. I'll make that correction. Thanks for catching that!

from vulnmapai.

davidalami avatar davidalami commented on June 7, 2024 1

@georgettica , would you like to add copying the tests to Dockerfile and enable testing back in the CI pipeline?

from vulnmapai.

georgettica avatar georgettica commented on June 7, 2024

can I assist?
please assign to me

from vulnmapai.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.