Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAINT] Add 3.10 unit test, compatibilities in setup.cfg #818

Merged
merged 8 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,41 @@ jobs:
paths:
- src/coverage/.coverage.py39

unittest_310:
docker:
- image: continuumio/miniconda3
working_directory: /tmp/src/tedana
steps:
- checkout
- restore_cache:
key: conda-py310-v1-{{ checksum "setup.cfg" }}
- run:
name: Generate environment
command: |
apt-get update
apt-get install -yqq make
if [ ! -d /opt/conda/envs/tedana_py310 ]; then
conda create -yq -n tedana_py310 python=3.10
source activate tedana_py310
pip install .[tests]
fi
- run:
name: Running unit tests
command: |
source activate tedana_py310
make unittest
mkdir /tmp/src/coverage
mv /tmp/src/tedana/.coverage /tmp/src/coverage/.coverage.py310
- save_cache:
key: conda-py310-v1-{{ checksum "setup.cfg" }}
paths:
- /opt/conda/envs/tedana_py310
- persist_to_workspace:
root: /tmp
paths:
- src/coverage/.coverage.py310


style_check:
docker:
- image: continuumio/miniconda3
Expand Down Expand Up @@ -318,12 +353,14 @@ workflows:
- makeenv_37
- unittest_38
- unittest_39
- unittest_310
- merge_coverage:
requires:
- unittest_36
- unittest_37
- unittest_38
- unittest_39
- unittest_310
- three-echo
- four-echo
- five-echo
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
python_requires = >= 3.6
Expand Down