Skip to content

Commit

Permalink
CI: Change minimum python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
maestroque committed Jul 22, 2024
1 parent e2f2241 commit 9efbf5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ orbs:
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
test38: # This is the name of the job, feel free to change it to better match what you're trying to do!
test39: # This is the name of the job, feel free to change it to better match what you're trying to do!
# These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/
# You can specify an image from Dockerhub or use one of the convenience images from CircleCI's Developer Hub
# A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python
# The executor is the environment in which the steps below will be executed - below will use a python 3.6.14 container
# Change the version below to your required version of python
docker:
- image: cimg/python:3.8
- image: cimg/python:3.9
working_directory: /tmp/src/phys2denoise
resource_class: medium
# Checkout the code as the first step. This is a dedicated CircleCI step.
Expand All @@ -46,7 +46,7 @@ jobs:
command: |
pytest --cov=./phys2denoise
mkdir /tmp/src/coverage
mv ./.coverage /tmp/src/coverage/.coverage.py38
mv ./.coverage /tmp/src/coverage/.coverage.py39
- store_artifacts:
path: /tmp/src/coverage
# Persist the specified paths (workspace/echo-output) into the workspace for use in downstream job.
Expand All @@ -56,7 +56,7 @@ jobs:
root: /tmp
# Must be relative path from root
paths:
- src/coverage/.coverage.py38
- src/coverage/.coverage.py39

test312:
docker:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

style_check:
docker:
- image: cimg/python:3.8
- image: cimg/python:3.9
working_directory: /tmp/src/phys2denoise
resource_class: small
steps:
Expand Down Expand Up @@ -133,13 +133,13 @@ workflows:
# Inside the workflow, you define the jobs you want to run.
jobs:
- style_check
- test38:
- test39:
requires:
- style_check
- test312:
requires:
- style_check
- merge_coverage:
requires:
- test38
- test39
- test312
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ provides =
phys2denoise

[options]
python_requires = >=3.8
python_requires = >=3.9
install_requires =
numpy >=1.9.3
matplotlib>=3.9
Expand Down

0 comments on commit 9efbf5f

Please sign in to comment.