From adfabc62ff5bb7486665a63baef3fde8d5a8b14a Mon Sep 17 00:00:00 2001 From: Aaron Abbott Date: Fri, 20 Jan 2023 10:39:48 -0500 Subject: [PATCH] Remove CircleCI configs (#229) Fixes #225 --- .circleci/config.yml | 124 ------------------------------------------- 1 file changed, 124 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 5e0f81cd..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,124 +0,0 @@ -version: 2.1 - -executors: - # Current version of python used in dev. Should match dev_basepython constant - # in tox.ini - dev_python: - docker: - - image: cimg/python:3.10 - -commands: - run_with_pip_cache: - description: Run the passed steps with a restored pip cache - parameters: - cache_key_base: - type: string - description: Base part of the cache key. Version and a more specific checksum of files will be added too. - cache_key_version: - type: string - description: Version prefix. Can be changed to invalidate caches. - default: v1 - steps: - type: steps - steps: - - run: cat tox.ini dev-constraints.txt > check.txt - - restore_cache: - name: Restoring pip wheel cache - keys: - - &key_full << parameters.cache_key_version >>-<< parameters.cache_key_base >>-{{ checksum "check.txt" }} - - &key << parameters.cache_key_version >>-<< parameters.cache_key_base >> - - steps: << parameters.steps >> - - save_cache: - name: Saving base pip wheel cache - key: *key - paths: - - ~/.cache/pip - - save_cache: - name: Saving checksummed pip wheel cache - key: *key_full - paths: - - ~/.cache/pip - store_test_results_command: - description: Upload test-results directory - steps: - - store_test_results: - path: .test-results/test-results - - store_artifacts: - path: .test-results/test-results - - setup: - description: Checkout code and install tox - steps: - - checkout - # Pin tox 3 because of https://github.com/rpkilby/tox-factor/issues/18 - - run: pip install -U tox==3.27.1 tox-factor - -jobs: - lint: - executor: dev_python - steps: - - setup - - run_with_pip_cache: - cache_key_base: lint-python3.10 - steps: - - run: tox -s false -f lint-ci - - docs: - executor: dev_python - steps: - - setup - - run_with_pip_cache: - cache_key_base: lint-python3.10 - steps: - - run: tox -s false -f docs-ci - - run: - name: Upload docs html artifacts - command: | - cd docs/_build/html - zip -r docs-html.zip * - - store_artifacts: - path: docs/_build/html - destination: docs-html - - mypy: - executor: dev_python - steps: - - setup - - run_with_pip_cache: - cache_key_base: mypy-python3.10 - steps: - - run: tox -s false -f mypy-ci - - store_test_results_command - - tests: - parameters: - python3_minor: - type: integer - description: The x in python3.x - docker: - - image: cimg/python:3.<< parameters.python3_minor >> - steps: - - setup - - run_with_pip_cache: - cache_key_base: test-python3.<< parameters.python3_minor >> - steps: - - run: - name: Run tox test factors for python3.<< parameters.python3_minor >> - command: > - tox - -s false - -f py3<< parameters.python3_minor >>-ci - - store_test_results_command - -workflows: - version: 2 - main: - jobs: - - lint - - docs - - mypy - - tests: - name: tests-python3.<< matrix.python3_minor >> - matrix: - parameters: - python3_minor: [7, 8, 9, 10]