diff --git a/.circleci/config.yml b/.circleci/config.yml index b7ce550..8ffd39a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,36 +3,45 @@ version: 2.1 jobs: example_job: docker: - - image: circleci/python:3.8 + - image: cimg/python:3.11.12 steps: - checkout + - run: python3 --version + - run: ls + other_job: + docker: + - image: cimg/python:3.11.11 + steps: + - checkout + - run: python3 --version - # Your main steps here - - run: - name: Run Tests - command: | - # Simulate test execution - pytest tests/ || echo "Tests failed" + # # Your main steps here + # - run: + # name: Run Tests + # command: | + # # Simulate test execution + # pytest tests/ || echo "Tests failed" - # Always persist to workspace, even if the previous step fails - - run: - name: Persist Workspace - command: | - echo "Persisting workspace..." - # You can add any commands needed to prepare your workspace here - - run: - name: Upload CodeCov.io Data - command: bash <(curl -s https://codecov.io/bash) -F unittests - when: always # Uploads code coverage results, pass or fail + # # Always persist to workspace, even if the previous step fails + # - run: + # name: Persist Workspace + # command: | + # echo "Persisting workspace..." + # # You can add any commands needed to prepare your workspace here + # - run: + # name: Upload CodeCov.io Data + # command: bash <(curl -s https://codecov.io/bash) -F unittests + # when: always # Uploads code coverage results, pass or fail - - persist_to_workspace: - root: /home/circleci/project - paths: - - path/to/persist + # - persist_to_workspace: + # root: /home/circleci/project + # paths: + # - path/to/persist workflows: version: 2 build: jobs: - example_job + - other_job