From 35c5d0581f7c526a0fc773e4d3f4f92f04181d12 Mon Sep 17 00:00:00 2001 From: Renu Singh Date: Thu, 16 Jan 2025 12:51:15 +0100 Subject: [PATCH] remove gitlab cicd --- .gitlab-ci.yml | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 3e2be37..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,47 +0,0 @@ -# GitLab CI/CD pipeline to continuously build, test, deploy, and monitor iterative code changes. -# -# This file specifies the stages, jobs, and scripts to be executed during your CI/CD pipeline. -# It is a YAML file with its own custom syntax. - -# The order of the items in stages defines the execution order for jobs. -# If any job fails, the pipeline is marked as failed and jobs in later stages do not start. -stages: - - test - -default: # Set default keywords for all jobs that don't alread have it defined. - image: continuumio/miniconda3:latest # Run in docker container with python, conda, pip, setuptools, etc. - tags: # Specify runner to run job (Seems like INRIA shared runners are not allowed to run untagged jobs). - - ci.inria.fr - - small - cache: # List of files and directories to cache between jobs and pipelines. - paths: - - .env/ - before_script: - - conda create -p .env/ python=3.10 || true # Store environment inside directory - - shopt -s expand_aliases - - alias envrun="conda run -p .env/" # Use conda run instead since conda activate does not work. - - envrun pip install . - - envrun pip install --no-dependencies tensordict - - envrun python -V - - pwd - - envrun python -c "import sys; print('\n'.join(sys.path))" # Print Python path. - -variables: # Change pip's cache directory to be inside the project directory since we can only cache local items. - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" - -# Job to run unit tests. -pytest: - stage: test - script: - - envrun python -m pytest --disable-warnings --junitxml=pytest-report.xml tests/ # Run all tests under tests/ dir and save report. - # Gitlab will upload these files and attach to the job. - artifacts: - when: always # Whether job succeeds or fails. - reports: - junit: pytest-report.xml # Specify that pytest-report.xml is a JUnit-style test report - -lint: - stage: test - script: - - envrun pip install ruff==0.5.3 - - envrun ruff check # Check linter. \ No newline at end of file