diff --git a/.circleci/config.yml b/.circleci/config.yml index 65bbd2c..23b37cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,21 +2,21 @@ # See: https://circleci.com/docs/configuration-reference version: 2.1 +orbs: + python: circleci/python@1.4.0 + # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: pio-build: - # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/configuration-reference/#executor-job - docker: - - image: cimg/base:stable + executor: python/default # Add steps to the job # See: https://circleci.com/docs/configuration-reference/#steps steps: - checkout - run: name: "platformio install" - command: "python3 -m pip install platformio" + command: "pip install --upgrade platformio" - run: name: "build" command: "pip run"