From 4673aec0834cc75bb56d697744ba802c68be64ed Mon Sep 17 00:00:00 2001
From: Taylor Salo <tsalo006@fiu.edu>
Date: Thu, 1 Feb 2024 11:19:47 -0500
Subject: [PATCH] Update config.yml

---
 .circleci/config.yml | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6257feadf..aa658c1b1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -5,6 +5,14 @@ jobs:
     machine:
       image: ubuntu-2004:202201-02
     working_directory: /home/circleci/src/CuBIDS
+    # Define the matrix for Python versions
+    matrix:
+      parameters:
+        python_version:
+          - "3.8"
+          - "3.9"
+          - "3.10"
+          - "3.11"
     steps:
       - checkout:
           path: /home/circleci/src/CuBIDS
@@ -21,7 +29,7 @@ jobs:
             conda info -a
 
             export PATH=/tmp/miniconda/bin:$PATH
-            conda create -n cubids python=<< matrix.python_version >> pip
+            conda create -n cubids python=<< parameters.python_version >> pip
             source activate cubids
             conda install -c conda-forge -y datalad
 
@@ -63,13 +71,6 @@ workflows:
   build_test_deploy:
     jobs:
       - run_pytests:
-          # Define the matrix for Python versions
-          matrix:
-            python_version:
-              - "3.8"
-              - "3.9"
-              - "3.10"
-              - "3.11"
           filters:
             tags:
               only: /.*/