diff --git a/.coveragerc b/.coveragerc index 630da522e..f72050cc5 100644 --- a/.coveragerc +++ b/.coveragerc @@ -9,6 +9,10 @@ relative_files = True ; regardless of whether it runs locally or within a Docker container. parallel = True +; omit scikit-surprise (custom package) GH runner tests Coveralls on python3.12? +omit = + /src/scikit-surprise/surprise/* + [paths] ; the first path is the path on the local (travis) filesystem ; the second path is the path as it appears within the Docker container diff --git a/.github/workflows/aliro_tests.yml b/.github/workflows/aliro_tests.yml index f205c9cf4..36299e038 100644 --- a/.github/workflows/aliro_tests.yml +++ b/.github/workflows/aliro_tests.yml @@ -26,13 +26,13 @@ jobs: # Runs a single command using the runners shell - name: Build Docker Images - run: docker-compose -f ./docker-compose-int-test.yml build -m 8g + run: docker compose -f ./docker-compose-int-test.yml build -m 8g # Runs a set of commands using the runners shell - name: Run Integration Tests run: | - docker-compose -f ./docker-compose-int-test.yml run tester bash -c "sh /root/wait_pennai.sh && npm test" - docker-compose -f ./docker-compose-int-test.yml down + docker compose -f ./docker-compose-int-test.yml run tester bash -c "sh /root/wait_pennai.sh && npm test" + docker compose -f ./docker-compose-int-test.yml down build_web_app: name: Unit Tests for Webapp @@ -50,13 +50,13 @@ jobs: # Runs a single command using the runners shell - name: Build Docker Images run: | - docker-compose -f ./docker-compose-unit-test.yml build -m 8g + docker compose -f ./docker-compose-unit-test.yml build -m 8g # Runs a set of commands using the runners shell - name: Run Unit Tests run: | git lfs fetch --all - docker-compose -f ./docker-compose-unit-test.yml up --abort-on-container-exit -V + docker compose -f ./docker-compose-unit-test.yml up --abort-on-container-exit -V - name: Coveralls uses: AndreMiras/coveralls-python-action@develop with: @@ -77,13 +77,13 @@ jobs: - name: Build Docker Images run: | pip install coveralls - docker-compose -f ./docker-compose-unit-test.yml build -m 8g + docker compose -f ./docker-compose-unit-test.yml build -m 8g # Runs a set of commands using the runners shell - name: Run Unit Tests run: | git lfs fetch --all git lfs pull - docker run -v $(pwd):/appsrc -w /appsrc aliro_unit_tester coverage run -m nose -s -v ai/tests/test_sklearn_api.py + docker run -v $(pwd):/appsrc -w /appsrc aliro-unit_tester coverage run -m nose -s -v ai/tests/test_sklearn_api.py coverage combine - name: Coveralls uses: AndreMiras/coveralls-python-action@develop @@ -145,11 +145,11 @@ jobs: - name: Build Docker Images run: | - docker-compose -f ./docker-compose-doc-builder.yml build -m 8g + docker compose -f ./docker-compose-doc-builder.yml build -m 8g # Building docs # Tell GitHub not to use jekyll to compile the docs - name: Building Docs run: | - docker-compose -f ./docker-compose-doc-builder.yml up --abort-on-container-exit --force-recreate + docker compose -f ./docker-compose-doc-builder.yml up --abort-on-container-exit --force-recreate sudo touch target/ai_docs/html/.nojekyll - name: Deploy uses: JamesIves/github-pages-deploy-action@3.7.1 diff --git a/docker/dbmongo/Dockerfile b/docker/dbmongo/Dockerfile index b3dae6d7a..d705c9c68 100644 --- a/docker/dbmongo/Dockerfile +++ b/docker/dbmongo/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build stage with all necessary files -FROM mongo:4.4.18 AS builder +FROM mongo:5.0.29 AS builder WORKDIR /opt/ @@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y dos2unix && \ apt-get clean # Stage 2: Final runtime image -FROM mongo:4.4.18 +FROM mongo:5.0.29 # Copy required configurations and scripts from the builder stage COPY --from=builder /etc/mongod.conf /etc/