Skip to content

Commit aca9be4

Browse files
JacksonBurnsrwest
authored andcommitted
test mac build and linux tests on 3.11 and 3.12
1 parent 8ec55fc commit aca9be4

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/CI.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ env:
5252
jobs:
5353
build-osx:
5454
runs-on: macos-13
55+
strategy:
56+
fail-fast: false
57+
matrix:
58+
python-version: ["3.11", "3.12"]
5559
# skip scheduled runs from forks
5660
if: ${{ !( github.repository != 'ReactionMechanismGenerator/RMG-Py' && github.event_name == 'schedule' ) }}
5761
defaults:
@@ -62,13 +66,13 @@ jobs:
6266
uses: actions/checkout@v4
6367

6468
# configures the mamba environment manager and builds the environment
65-
- name: Setup Mambaforge Python 3.7
69+
- name: Setup Mambaforge Python ${{ matrix.python-version }}
6670
uses: conda-incubator/setup-miniconda@v3
6771
with:
6872
environment-file: environment.yml
6973
miniforge-variant: Mambaforge
7074
miniforge-version: latest
71-
python-version: 3.7
75+
python-version: ${{ matrix.python-version }}
7276
activate-environment: rmg_env
7377
use-mamba: true
7478

@@ -99,6 +103,10 @@ jobs:
99103
100104
build-and-test-linux:
101105
runs-on: ubuntu-latest
106+
strategy:
107+
fail-fast: false
108+
matrix:
109+
python-version: ["3.11", "3.12"]
102110
# skip scheduled runs from forks
103111
if: ${{ !( github.repository != 'ReactionMechanismGenerator/RMG-Py' && github.event_name == 'schedule' ) }}
104112
env:
@@ -112,13 +120,13 @@ jobs:
112120
uses: actions/checkout@v4
113121

114122
# configures the mamba environment manager and builds the environment
115-
- name: Setup Mambaforge Python 3.7
123+
- name: Setup Mambaforge Python ${{ matrix.python-version }}
116124
uses: conda-incubator/setup-miniconda@v3
117125
with:
118126
environment-file: environment.yml
119127
miniforge-variant: Mambaforge
120128
miniforge-version: latest
121-
python-version: 3.7
129+
python-version: ${{ matrix.python-version }}
122130
activate-environment: rmg_env
123131
use-mamba: true
124132

0 commit comments

Comments
 (0)