diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d94813c6b..174b2a9a2 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,12 +54,6 @@ jobs: make main.o ./main.o - # Installing gcov - - name: Install gcov - run: | - apt-get update - apt-get install --no-install-recommends -y gcovr - - name: Generate coverage run: | cd tests diff --git a/docker/Dockerfile b/docker/Dockerfile index 43e5925db..3c6fdcc36 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,9 @@ RUN apt install -y --no-install-recommends make RUN cd /bin/ && ln -s g++-9 g++ && \ echo export PATH=$PATH:/bin/:/user/bin/ > ~/.profile +# Installing gcov +RUN apt install -y --no-install-recommends gcovr + # Test run COPY hello.cpp /home/hello.cpp RUN echo "all:\n\tg++ -std=c++11 hello.cpp -o hello.o && ./hello.o" >> /home/Makefile